1 // SPDX-License-Identifier: GPL-2.0 OR X11 1 // SPDX-License-Identifier: GPL-2.0 OR X11 2 /* 2 /* 3 * Copyright 2013 Boundary Devices, Inc. 3 * Copyright 2013 Boundary Devices, Inc. 4 * Copyright 2011 Freescale Semiconductor, Inc 4 * Copyright 2011 Freescale Semiconductor, Inc. 5 * Copyright 2011 Linaro Ltd. 5 * Copyright 2011 Linaro Ltd. 6 */ 6 */ 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 9 9 10 / { 10 / { 11 chosen { 11 chosen { 12 stdout-path = &uart2; 12 stdout-path = &uart2; 13 }; 13 }; 14 14 15 memory@10000000 { 15 memory@10000000 { 16 device_type = "memory"; 16 device_type = "memory"; 17 reg = <0x10000000 0x40000000>; 17 reg = <0x10000000 0x40000000>; 18 }; 18 }; 19 19 20 reg_2p5v: regulator-2p5v { 20 reg_2p5v: regulator-2p5v { 21 compatible = "regulator-fixed" 21 compatible = "regulator-fixed"; 22 regulator-name = "2P5V"; 22 regulator-name = "2P5V"; 23 regulator-min-microvolt = <250 23 regulator-min-microvolt = <2500000>; 24 regulator-max-microvolt = <250 24 regulator-max-microvolt = <2500000>; 25 regulator-always-on; 25 regulator-always-on; 26 }; 26 }; 27 27 28 reg_3p3v: regulator-3p3v { 28 reg_3p3v: regulator-3p3v { 29 compatible = "regulator-fixed" 29 compatible = "regulator-fixed"; 30 regulator-name = "3P3V"; 30 regulator-name = "3P3V"; 31 regulator-min-microvolt = <330 31 regulator-min-microvolt = <3300000>; 32 regulator-max-microvolt = <330 32 regulator-max-microvolt = <3300000>; 33 regulator-always-on; 33 regulator-always-on; 34 }; 34 }; 35 35 36 reg_usb_otg_vbus: regulator-usb-otg-vb 36 reg_usb_otg_vbus: regulator-usb-otg-vbus { 37 compatible = "regulator-fixed" 37 compatible = "regulator-fixed"; 38 regulator-name = "usb_otg_vbus 38 regulator-name = "usb_otg_vbus"; 39 regulator-min-microvolt = <500 39 regulator-min-microvolt = <5000000>; 40 regulator-max-microvolt = <500 40 regulator-max-microvolt = <5000000>; 41 gpio = <&gpio3 22 0>; 41 gpio = <&gpio3 22 0>; 42 enable-active-high; 42 enable-active-high; 43 }; 43 }; 44 44 45 reg_can_xcvr: regulator-can-xcvr { 45 reg_can_xcvr: regulator-can-xcvr { 46 compatible = "regulator-fixed" 46 compatible = "regulator-fixed"; 47 regulator-name = "CAN XCVR"; 47 regulator-name = "CAN XCVR"; 48 regulator-min-microvolt = <330 48 regulator-min-microvolt = <3300000>; 49 regulator-max-microvolt = <330 49 regulator-max-microvolt = <3300000>; 50 pinctrl-names = "default"; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_can_xcvr 51 pinctrl-0 = <&pinctrl_can_xcvr>; 52 gpio = <&gpio1 2 GPIO_ACTIVE_L 52 gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; 53 }; 53 }; 54 54 55 reg_wlan_vmmc: regulator-wlan-vmmc { 55 reg_wlan_vmmc: regulator-wlan-vmmc { 56 compatible = "regulator-fixed" 56 compatible = "regulator-fixed"; 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_wlan_vmm 58 pinctrl-0 = <&pinctrl_wlan_vmmc>; 59 regulator-name = "reg_wlan_vmm 59 regulator-name = "reg_wlan_vmmc"; 60 regulator-min-microvolt = <330 60 regulator-min-microvolt = <3300000>; 61 regulator-max-microvolt = <330 61 regulator-max-microvolt = <3300000>; 62 gpio = <&gpio6 15 GPIO_ACTIVE_ 62 gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>; 63 startup-delay-us = <70000>; 63 startup-delay-us = <70000>; 64 enable-active-high; 64 enable-active-high; 65 }; 65 }; 66 66 67 reg_usb_h1_vbus: regulator-usb-h1-vbus 67 reg_usb_h1_vbus: regulator-usb-h1-vbus { 68 compatible = "regulator-fixed" 68 compatible = "regulator-fixed"; 69 pinctrl-names = "default"; 69 pinctrl-names = "default"; 70 pinctrl-0 = <&pinctrl_usbh1>; 70 pinctrl-0 = <&pinctrl_usbh1>; 71 regulator-name = "usb_h1_vbus" 71 regulator-name = "usb_h1_vbus"; 72 regulator-min-microvolt = <330 72 regulator-min-microvolt = <3300000>; 73 regulator-max-microvolt = <330 73 regulator-max-microvolt = <3300000>; 74 gpio = <&gpio7 12 GPIO_ACTIVE_ 74 gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; 75 enable-active-high; 75 enable-active-high; 76 }; 76 }; 77 77 78 gpio-keys { 78 gpio-keys { 79 compatible = "gpio-keys"; 79 compatible = "gpio-keys"; 80 pinctrl-names = "default"; 80 pinctrl-names = "default"; 81 pinctrl-0 = <&pinctrl_gpio_key 81 pinctrl-0 = <&pinctrl_gpio_keys>; 82 82 83 power { 83 power { 84 label = "Power Button" 84 label = "Power Button"; 85 gpios = <&gpio2 3 GPIO 85 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; 86 linux,code = <KEY_POWE 86 linux,code = <KEY_POWER>; 87 wakeup-source; 87 wakeup-source; 88 }; 88 }; 89 89 90 menu { 90 menu { 91 label = "Menu"; 91 label = "Menu"; 92 gpios = <&gpio2 1 GPIO 92 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; 93 linux,code = <KEY_MENU 93 linux,code = <KEY_MENU>; 94 }; 94 }; 95 95 96 home { 96 home { 97 label = "Home"; 97 label = "Home"; 98 gpios = <&gpio2 4 GPIO 98 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 99 linux,code = <KEY_HOME 99 linux,code = <KEY_HOME>; 100 }; 100 }; 101 101 102 back { 102 back { 103 label = "Back"; 103 label = "Back"; 104 gpios = <&gpio2 2 GPIO 104 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; 105 linux,code = <KEY_BACK 105 linux,code = <KEY_BACK>; 106 }; 106 }; 107 107 108 volume-up { 108 volume-up { 109 label = "Volume Up"; 109 label = "Volume Up"; 110 gpios = <&gpio7 13 GPI 110 gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; 111 linux,code = <KEY_VOLU 111 linux,code = <KEY_VOLUMEUP>; 112 }; 112 }; 113 113 114 volume-down { 114 volume-down { 115 label = "Volume Down"; 115 label = "Volume Down"; 116 gpios = <&gpio4 5 GPIO 116 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; 117 linux,code = <KEY_VOLU 117 linux,code = <KEY_VOLUMEDOWN>; 118 }; 118 }; 119 }; 119 }; 120 120 121 sound { 121 sound { 122 compatible = "fsl,imx6q-nitrog 122 compatible = "fsl,imx6q-nitrogen6x-sgtl5000", 123 "fsl,imx-audio-sg 123 "fsl,imx-audio-sgtl5000"; 124 model = "imx6q-nitrogen6x-sgtl 124 model = "imx6q-nitrogen6x-sgtl5000"; 125 ssi-controller = <&ssi1>; 125 ssi-controller = <&ssi1>; 126 audio-codec = <&codec>; 126 audio-codec = <&codec>; 127 audio-routing = 127 audio-routing = 128 "MIC_IN", "Mic Jack", 128 "MIC_IN", "Mic Jack", 129 "Mic Jack", "Mic Bias" 129 "Mic Jack", "Mic Bias", 130 "Headphone Jack", "HP_ 130 "Headphone Jack", "HP_OUT"; 131 mux-int-port = <1>; 131 mux-int-port = <1>; 132 mux-ext-port = <3>; 132 mux-ext-port = <3>; 133 }; 133 }; 134 134 135 backlight_lcd: backlight-lcd { 135 backlight_lcd: backlight-lcd { 136 compatible = "pwm-backlight"; 136 compatible = "pwm-backlight"; 137 pwms = <&pwm1 0 5000000 0>; 137 pwms = <&pwm1 0 5000000 0>; 138 brightness-levels = <0 4 8 16 138 brightness-levels = <0 4 8 16 32 64 128 255>; 139 default-brightness-level = <7> 139 default-brightness-level = <7>; 140 power-supply = <®_3p3v>; 140 power-supply = <®_3p3v>; 141 status = "okay"; 141 status = "okay"; 142 }; 142 }; 143 143 144 backlight_lvds: backlight-lvds { 144 backlight_lvds: backlight-lvds { 145 compatible = "pwm-backlight"; 145 compatible = "pwm-backlight"; 146 pwms = <&pwm4 0 5000000 0>; 146 pwms = <&pwm4 0 5000000 0>; 147 brightness-levels = <0 4 8 16 147 brightness-levels = <0 4 8 16 32 64 128 255>; 148 default-brightness-level = <7> 148 default-brightness-level = <7>; 149 power-supply = <®_3p3v>; 149 power-supply = <®_3p3v>; 150 status = "okay"; 150 status = "okay"; 151 }; 151 }; 152 152 153 lcd_display: disp0 { 153 lcd_display: disp0 { 154 compatible = "fsl,imx-parallel 154 compatible = "fsl,imx-parallel-display"; 155 #address-cells = <1>; 155 #address-cells = <1>; 156 #size-cells = <0>; 156 #size-cells = <0>; 157 interface-pix-fmt = "bgr666"; 157 interface-pix-fmt = "bgr666"; 158 pinctrl-names = "default"; 158 pinctrl-names = "default"; 159 pinctrl-0 = <&pinctrl_j15>; 159 pinctrl-0 = <&pinctrl_j15>; 160 status = "okay"; 160 status = "okay"; 161 161 162 port@0 { 162 port@0 { 163 reg = <0>; 163 reg = <0>; 164 164 165 lcd_display_in: endpoi 165 lcd_display_in: endpoint { 166 remote-endpoin 166 remote-endpoint = <&ipu1_di0_disp0>; 167 }; 167 }; 168 }; 168 }; 169 169 170 port@1 { 170 port@1 { 171 reg = <1>; 171 reg = <1>; 172 172 173 lcd_display_out: endpo 173 lcd_display_out: endpoint { 174 remote-endpoin 174 remote-endpoint = <&lcd_panel_in>; 175 }; 175 }; 176 }; 176 }; 177 }; 177 }; 178 178 179 panel-lcd { 179 panel-lcd { 180 compatible = "okaya,rs800480t- 180 compatible = "okaya,rs800480t-7x0gp"; 181 backlight = <&backlight_lcd>; 181 backlight = <&backlight_lcd>; 182 182 183 port { 183 port { 184 lcd_panel_in: endpoint 184 lcd_panel_in: endpoint { 185 remote-endpoin 185 remote-endpoint = <&lcd_display_out>; 186 }; 186 }; 187 }; 187 }; 188 }; 188 }; 189 189 190 panel-lvds0 { 190 panel-lvds0 { 191 compatible = "hannstar,hsd100p 191 compatible = "hannstar,hsd100pxn1"; 192 backlight = <&backlight_lvds>; 192 backlight = <&backlight_lvds>; 193 193 194 port { 194 port { 195 panel_in: endpoint { 195 panel_in: endpoint { 196 remote-endpoin 196 remote-endpoint = <&lvds0_out>; 197 }; 197 }; 198 }; 198 }; 199 }; 199 }; 200 }; 200 }; 201 201 202 &audmux { 202 &audmux { 203 pinctrl-names = "default"; 203 pinctrl-names = "default"; 204 pinctrl-0 = <&pinctrl_audmux>; 204 pinctrl-0 = <&pinctrl_audmux>; 205 status = "okay"; 205 status = "okay"; 206 }; 206 }; 207 207 208 &can1 { 208 &can1 { 209 pinctrl-names = "default"; 209 pinctrl-names = "default"; 210 pinctrl-0 = <&pinctrl_can1>; 210 pinctrl-0 = <&pinctrl_can1>; 211 xceiver-supply = <®_can_xcvr>; 211 xceiver-supply = <®_can_xcvr>; 212 status = "okay"; 212 status = "okay"; 213 }; 213 }; 214 214 215 &clks { 215 &clks { 216 assigned-clocks = <&clks IMX6QDL_CLK_L 216 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, 217 <&clks IMX6QDL_CLK_L 217 <&clks IMX6QDL_CLK_LDB_DI1_SEL>; 218 assigned-clock-parents = <&clks IMX6QD 218 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, 219 <&clks IMX6QD 219 <&clks IMX6QDL_CLK_PLL3_USB_OTG>; 220 }; 220 }; 221 221 222 &ecspi1 { 222 &ecspi1 { 223 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW> 223 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 224 pinctrl-names = "default"; 224 pinctrl-names = "default"; 225 pinctrl-0 = <&pinctrl_ecspi1>; 225 pinctrl-0 = <&pinctrl_ecspi1>; 226 status = "okay"; 226 status = "okay"; 227 227 228 flash: flash@0 { 228 flash: flash@0 { 229 compatible = "sst,sst25vf016b" 229 compatible = "sst,sst25vf016b", "jedec,spi-nor"; 230 spi-max-frequency = <20000000> 230 spi-max-frequency = <20000000>; 231 reg = <0>; 231 reg = <0>; 232 #address-cells = <1>; 232 #address-cells = <1>; 233 #size-cells = <1>; 233 #size-cells = <1>; 234 234 235 partition@0 { 235 partition@0 { 236 label = "bootloader"; 236 label = "bootloader"; 237 reg = <0x0 0xc0000>; 237 reg = <0x0 0xc0000>; 238 }; 238 }; 239 239 240 partition@c0000 { 240 partition@c0000 { 241 label = "env"; 241 label = "env"; 242 reg = <0xc0000 0x2000> 242 reg = <0xc0000 0x2000>; 243 }; 243 }; 244 244 245 partition@c2000 { 245 partition@c2000 { 246 label = "splash"; 246 label = "splash"; 247 reg = <0xc2000 0x13e00 247 reg = <0xc2000 0x13e000>; 248 }; 248 }; 249 }; 249 }; 250 }; 250 }; 251 251 252 &fec { 252 &fec { 253 pinctrl-names = "default"; 253 pinctrl-names = "default"; 254 pinctrl-0 = <&pinctrl_enet>; 254 pinctrl-0 = <&pinctrl_enet>; 255 phy-mode = "rgmii"; 255 phy-mode = "rgmii"; 256 phy-handle = <ðphy>; 256 phy-handle = <ðphy>; 257 phy-reset-gpios = <&gpio1 27 GPIO_ACTI 257 phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; 258 /delete-property/ interrupts; 258 /delete-property/ interrupts; 259 interrupts-extended = <&gpio1 6 IRQ_TY 259 interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, 260 <&intc 0 119 IRQ 260 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; 261 fsl,err006687-workaround-present; 261 fsl,err006687-workaround-present; 262 status = "okay"; 262 status = "okay"; 263 263 264 mdio { 264 mdio { 265 #address-cells = <1>; 265 #address-cells = <1>; 266 #size-cells = <0>; 266 #size-cells = <0>; 267 267 268 ethphy: ethernet-phy { 268 ethphy: ethernet-phy { 269 compatible = "ethernet 269 compatible = "ethernet-phy-ieee802.3-c22"; 270 txen-skew-ps = <0>; 270 txen-skew-ps = <0>; 271 txc-skew-ps = <3000>; 271 txc-skew-ps = <3000>; 272 rxdv-skew-ps = <0>; 272 rxdv-skew-ps = <0>; 273 rxc-skew-ps = <3000>; 273 rxc-skew-ps = <3000>; 274 rxd0-skew-ps = <0>; 274 rxd0-skew-ps = <0>; 275 rxd1-skew-ps = <0>; 275 rxd1-skew-ps = <0>; 276 rxd2-skew-ps = <0>; 276 rxd2-skew-ps = <0>; 277 rxd3-skew-ps = <0>; 277 rxd3-skew-ps = <0>; 278 txd0-skew-ps = <0>; 278 txd0-skew-ps = <0>; 279 txd1-skew-ps = <0>; 279 txd1-skew-ps = <0>; 280 txd2-skew-ps = <0>; 280 txd2-skew-ps = <0>; 281 txd3-skew-ps = <0>; 281 txd3-skew-ps = <0>; 282 }; 282 }; 283 }; 283 }; 284 }; 284 }; 285 285 286 &hdmi { 286 &hdmi { 287 ddc-i2c-bus = <&i2c2>; 287 ddc-i2c-bus = <&i2c2>; 288 status = "okay"; 288 status = "okay"; 289 }; 289 }; 290 290 291 &i2c1 { 291 &i2c1 { 292 clock-frequency = <100000>; 292 clock-frequency = <100000>; 293 pinctrl-names = "default"; 293 pinctrl-names = "default"; 294 pinctrl-0 = <&pinctrl_i2c1>; 294 pinctrl-0 = <&pinctrl_i2c1>; 295 status = "okay"; 295 status = "okay"; 296 296 297 codec: sgtl5000@a { 297 codec: sgtl5000@a { 298 compatible = "fsl,sgtl5000"; 298 compatible = "fsl,sgtl5000"; 299 reg = <0x0a>; 299 reg = <0x0a>; 300 #sound-dai-cells = <0>; 300 #sound-dai-cells = <0>; 301 clocks = <&clks IMX6QDL_CLK_CK 301 clocks = <&clks IMX6QDL_CLK_CKO>; 302 VDDA-supply = <®_2p5v>; 302 VDDA-supply = <®_2p5v>; 303 VDDIO-supply = <®_3p3v>; 303 VDDIO-supply = <®_3p3v>; 304 }; 304 }; 305 305 306 rtc: rtc@6f { 306 rtc: rtc@6f { 307 compatible = "isil,isl1208"; 307 compatible = "isil,isl1208"; 308 reg = <0x6f>; 308 reg = <0x6f>; 309 }; 309 }; 310 }; 310 }; 311 311 312 &i2c2 { 312 &i2c2 { 313 clock-frequency = <100000>; 313 clock-frequency = <100000>; 314 pinctrl-names = "default"; 314 pinctrl-names = "default"; 315 pinctrl-0 = <&pinctrl_i2c2>; 315 pinctrl-0 = <&pinctrl_i2c2>; 316 status = "okay"; 316 status = "okay"; 317 }; 317 }; 318 318 319 &i2c3 { 319 &i2c3 { 320 clock-frequency = <100000>; 320 clock-frequency = <100000>; 321 pinctrl-names = "default"; 321 pinctrl-names = "default"; 322 pinctrl-0 = <&pinctrl_i2c3>; 322 pinctrl-0 = <&pinctrl_i2c3>; 323 status = "okay"; 323 status = "okay"; 324 324 325 touchscreen@4 { 325 touchscreen@4 { 326 compatible = "eeti,egalax_ts"; 326 compatible = "eeti,egalax_ts"; 327 reg = <0x04>; 327 reg = <0x04>; 328 interrupt-parent = <&gpio1>; 328 interrupt-parent = <&gpio1>; 329 interrupts = <9 IRQ_TYPE_EDGE_ 329 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; 330 wakeup-gpios = <&gpio1 9 GPIO_ 330 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 331 }; 331 }; 332 332 333 touchscreen@38 { 333 touchscreen@38 { 334 compatible = "edt,edt-ft5x06"; 334 compatible = "edt,edt-ft5x06"; 335 reg = <0x38>; 335 reg = <0x38>; 336 interrupt-parent = <&gpio1>; 336 interrupt-parent = <&gpio1>; 337 interrupts = <9 IRQ_TYPE_EDGE_ 337 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; 338 wakeup-source; 338 wakeup-source; 339 }; 339 }; 340 }; 340 }; 341 341 342 &iomuxc { 342 &iomuxc { 343 pinctrl-names = "default"; 343 pinctrl-names = "default"; 344 pinctrl-0 = <&pinctrl_hog>; 344 pinctrl-0 = <&pinctrl_hog>; 345 345 346 imx6q-nitrogen6x { 346 imx6q-nitrogen6x { 347 pinctrl_hog: hoggrp { 347 pinctrl_hog: hoggrp { 348 fsl,pins = < 348 fsl,pins = < 349 /* SGTL5000 sy 349 /* SGTL5000 sys_mclk */ 350 MX6QDL_PAD_GPI 350 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0 351 MX6QDL_PAD_GPI 351 MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 352 >; 352 >; 353 }; 353 }; 354 354 355 pinctrl_audmux: audmuxgrp { 355 pinctrl_audmux: audmuxgrp { 356 fsl,pins = < 356 fsl,pins = < 357 MX6QDL_PAD_CSI 357 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0 358 MX6QDL_PAD_CSI 358 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0 359 MX6QDL_PAD_CSI 359 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0 360 MX6QDL_PAD_CSI 360 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0 361 >; 361 >; 362 }; 362 }; 363 363 364 pinctrl_can1: can1grp { 364 pinctrl_can1: can1grp { 365 fsl,pins = < 365 fsl,pins = < 366 MX6QDL_PAD_KEY 366 MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0 367 MX6QDL_PAD_KEY 367 MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0 368 >; 368 >; 369 }; 369 }; 370 370 371 pinctrl_can_xcvr: can-xcvrgrp 371 pinctrl_can_xcvr: can-xcvrgrp { 372 fsl,pins = < 372 fsl,pins = < 373 /* Flexcan XCV 373 /* Flexcan XCVR enable */ 374 MX6QDL_PAD_GPI 374 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 375 >; 375 >; 376 }; 376 }; 377 377 378 pinctrl_ecspi1: ecspi1grp { 378 pinctrl_ecspi1: ecspi1grp { 379 fsl,pins = < 379 fsl,pins = < 380 MX6QDL_PAD_EIM 380 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 381 MX6QDL_PAD_EIM 381 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 382 MX6QDL_PAD_EIM 382 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 383 MX6QDL_PAD_EIM 383 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x000b1 /* CS */ 384 >; 384 >; 385 }; 385 }; 386 386 387 pinctrl_enet: enetgrp { 387 pinctrl_enet: enetgrp { 388 fsl,pins = < 388 fsl,pins = < 389 MX6QDL_PAD_ENE 389 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0 390 MX6QDL_PAD_ENE 390 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0 391 MX6QDL_PAD_RGM 391 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030 392 MX6QDL_PAD_RGM 392 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030 393 MX6QDL_PAD_RGM 393 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030 394 MX6QDL_PAD_RGM 394 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030 395 MX6QDL_PAD_RGM 395 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030 396 MX6QDL_PAD_RGM 396 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030 397 MX6QDL_PAD_ENE 397 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0 398 MX6QDL_PAD_RGM 398 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 399 MX6QDL_PAD_RGM 399 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 400 MX6QDL_PAD_RGM 400 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 401 MX6QDL_PAD_RGM 401 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 402 MX6QDL_PAD_RGM 402 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 403 MX6QDL_PAD_RGM 403 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 404 /* Phy reset * 404 /* Phy reset */ 405 MX6QDL_PAD_ENE 405 MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x000b0 406 MX6QDL_PAD_GPI 406 MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 407 >; 407 >; 408 }; 408 }; 409 409 410 pinctrl_gpio_keys: gpio-keysgr 410 pinctrl_gpio_keys: gpio-keysgrp { 411 fsl,pins = < 411 fsl,pins = < 412 /* Power Butto 412 /* Power Button */ 413 MX6QDL_PAD_NAN 413 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x1b0b0 414 /* Menu Button 414 /* Menu Button */ 415 MX6QDL_PAD_NAN 415 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 416 /* Home Button 416 /* Home Button */ 417 MX6QDL_PAD_NAN 417 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x1b0b0 418 /* Back Button 418 /* Back Button */ 419 MX6QDL_PAD_NAN 419 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x1b0b0 420 /* Volume Up B 420 /* Volume Up Button */ 421 MX6QDL_PAD_GPI 421 MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 422 /* Volume Down 422 /* Volume Down Button */ 423 MX6QDL_PAD_GPI 423 MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 424 >; 424 >; 425 }; 425 }; 426 426 427 pinctrl_i2c1: i2c1grp { 427 pinctrl_i2c1: i2c1grp { 428 fsl,pins = < 428 fsl,pins = < 429 MX6QDL_PAD_EIM 429 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 430 MX6QDL_PAD_EIM 430 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 431 >; 431 >; 432 }; 432 }; 433 433 434 pinctrl_i2c2: i2c2grp { 434 pinctrl_i2c2: i2c2grp { 435 fsl,pins = < 435 fsl,pins = < 436 MX6QDL_PAD_KEY 436 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 437 MX6QDL_PAD_KEY 437 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 438 >; 438 >; 439 }; 439 }; 440 440 441 pinctrl_i2c3: i2c3grp { 441 pinctrl_i2c3: i2c3grp { 442 fsl,pins = < 442 fsl,pins = < 443 MX6QDL_PAD_GPI 443 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 444 MX6QDL_PAD_GPI 444 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1 445 >; 445 >; 446 }; 446 }; 447 447 448 pinctrl_j15: j15grp { 448 pinctrl_j15: j15grp { 449 fsl,pins = < 449 fsl,pins = < 450 MX6QDL_PAD_DI0 450 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10 451 MX6QDL_PAD_DI0 451 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x10 452 MX6QDL_PAD_DI0 452 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 453 MX6QDL_PAD_DI0 453 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 454 MX6QDL_PAD_DIS 454 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x10 455 MX6QDL_PAD_DIS 455 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x10 456 MX6QDL_PAD_DIS 456 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x10 457 MX6QDL_PAD_DIS 457 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x10 458 MX6QDL_PAD_DIS 458 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x10 459 MX6QDL_PAD_DIS 459 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x10 460 MX6QDL_PAD_DIS 460 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x10 461 MX6QDL_PAD_DIS 461 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x10 462 MX6QDL_PAD_DIS 462 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x10 463 MX6QDL_PAD_DIS 463 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x10 464 MX6QDL_PAD_DIS 464 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x10 465 MX6QDL_PAD_DIS 465 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x10 466 MX6QDL_PAD_DIS 466 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x10 467 MX6QDL_PAD_DIS 467 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x10 468 MX6QDL_PAD_DIS 468 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x10 469 MX6QDL_PAD_DIS 469 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x10 470 MX6QDL_PAD_DIS 470 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x10 471 MX6QDL_PAD_DIS 471 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x10 472 MX6QDL_PAD_DIS 472 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x10 473 MX6QDL_PAD_DIS 473 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x10 474 MX6QDL_PAD_DIS 474 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x10 475 MX6QDL_PAD_DIS 475 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x10 476 MX6QDL_PAD_DIS 476 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x10 477 MX6QDL_PAD_DIS 477 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x10 478 >; 478 >; 479 }; 479 }; 480 480 481 pinctrl_pwm1: pwm1grp { 481 pinctrl_pwm1: pwm1grp { 482 fsl,pins = < 482 fsl,pins = < 483 MX6QDL_PAD_SD1 483 MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 484 >; 484 >; 485 }; 485 }; 486 486 487 pinctrl_pwm3: pwm3grp { 487 pinctrl_pwm3: pwm3grp { 488 fsl,pins = < 488 fsl,pins = < 489 MX6QDL_PAD_SD1 489 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1 490 >; 490 >; 491 }; 491 }; 492 492 493 pinctrl_pwm4: pwm4grp { 493 pinctrl_pwm4: pwm4grp { 494 fsl,pins = < 494 fsl,pins = < 495 MX6QDL_PAD_SD1 495 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 496 >; 496 >; 497 }; 497 }; 498 498 499 pinctrl_uart1: uart1grp { 499 pinctrl_uart1: uart1grp { 500 fsl,pins = < 500 fsl,pins = < 501 MX6QDL_PAD_SD3 501 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 502 MX6QDL_PAD_SD3 502 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 503 >; 503 >; 504 }; 504 }; 505 505 506 pinctrl_uart2: uart2grp { 506 pinctrl_uart2: uart2grp { 507 fsl,pins = < 507 fsl,pins = < 508 MX6QDL_PAD_EIM 508 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 509 MX6QDL_PAD_EIM 509 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 510 >; 510 >; 511 }; 511 }; 512 512 513 pinctrl_usbh1: usbh1grp { 513 pinctrl_usbh1: usbh1grp { 514 fsl,pins = < 514 fsl,pins = < 515 MX6QDL_PAD_GPI 515 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x030b0 516 >; 516 >; 517 }; 517 }; 518 518 519 pinctrl_usbotg: usbotggrp { 519 pinctrl_usbotg: usbotggrp { 520 fsl,pins = < 520 fsl,pins = < 521 MX6QDL_PAD_GPI 521 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 522 MX6QDL_PAD_KEY 522 MX6QDL_PAD_KEY_COL4__USB_OTG_OC 0x1b0b0 523 /* power enabl 523 /* power enable, high active */ 524 MX6QDL_PAD_EIM 524 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0 525 >; 525 >; 526 }; 526 }; 527 527 528 pinctrl_usdhc2: usdhc2grp { 528 pinctrl_usdhc2: usdhc2grp { 529 fsl,pins = < 529 fsl,pins = < 530 MX6QDL_PAD_SD2 530 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17071 531 MX6QDL_PAD_SD2 531 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10071 532 MX6QDL_PAD_SD2 532 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071 533 MX6QDL_PAD_SD2 533 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071 534 MX6QDL_PAD_SD2 534 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071 535 MX6QDL_PAD_SD2 535 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071 536 >; 536 >; 537 }; 537 }; 538 538 539 pinctrl_usdhc3: usdhc3grp { 539 pinctrl_usdhc3: usdhc3grp { 540 fsl,pins = < 540 fsl,pins = < 541 MX6QDL_PAD_SD3 541 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 542 MX6QDL_PAD_SD3 542 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 543 MX6QDL_PAD_SD3 543 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 544 MX6QDL_PAD_SD3 544 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 545 MX6QDL_PAD_SD3 545 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 546 MX6QDL_PAD_SD3 546 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 547 MX6QDL_PAD_SD3 547 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* CD */ 548 >; 548 >; 549 }; 549 }; 550 550 551 pinctrl_usdhc4: usdhc4grp { 551 pinctrl_usdhc4: usdhc4grp { 552 fsl,pins = < 552 fsl,pins = < 553 MX6QDL_PAD_SD4 553 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059 554 MX6QDL_PAD_SD4 554 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059 555 MX6QDL_PAD_SD4 555 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059 556 MX6QDL_PAD_SD4 556 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059 557 MX6QDL_PAD_SD4 557 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059 558 MX6QDL_PAD_SD4 558 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059 559 MX6QDL_PAD_NAN 559 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x1b0b0 /* CD */ 560 >; 560 >; 561 }; 561 }; 562 562 563 pinctrl_wlan_vmmc: wlan-vmmcgr 563 pinctrl_wlan_vmmc: wlan-vmmcgrp { 564 fsl,pins = < 564 fsl,pins = < 565 MX6QDL_PAD_NAN 565 MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x100b0 566 MX6QDL_PAD_NAN 566 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x000b0 567 MX6QDL_PAD_NAN 567 MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x000b0 568 MX6QDL_PAD_SD1 568 MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT 0x000b0 569 >; 569 >; 570 }; 570 }; 571 }; 571 }; 572 }; 572 }; 573 573 574 &ipu1_di0_disp0 { 574 &ipu1_di0_disp0 { 575 remote-endpoint = <&lcd_display_in>; 575 remote-endpoint = <&lcd_display_in>; 576 }; 576 }; 577 577 578 &ldb { 578 &ldb { 579 status = "okay"; 579 status = "okay"; 580 580 581 lvds-channel@0 { 581 lvds-channel@0 { 582 status = "okay"; 582 status = "okay"; 583 583 584 port@4 { 584 port@4 { 585 reg = <4>; 585 reg = <4>; 586 586 587 lvds0_out: endpoint { 587 lvds0_out: endpoint { 588 remote-endpoin 588 remote-endpoint = <&panel_in>; 589 }; 589 }; 590 }; 590 }; 591 }; 591 }; 592 }; 592 }; 593 593 594 &pcie { 594 &pcie { 595 status = "okay"; 595 status = "okay"; 596 }; 596 }; 597 597 598 &pwm1 { 598 &pwm1 { 599 pinctrl-names = "default"; 599 pinctrl-names = "default"; 600 pinctrl-0 = <&pinctrl_pwm1>; 600 pinctrl-0 = <&pinctrl_pwm1>; 601 status = "okay"; 601 status = "okay"; 602 }; 602 }; 603 603 604 &pwm3 { 604 &pwm3 { 605 pinctrl-names = "default"; 605 pinctrl-names = "default"; 606 pinctrl-0 = <&pinctrl_pwm3>; 606 pinctrl-0 = <&pinctrl_pwm3>; 607 status = "okay"; 607 status = "okay"; 608 }; 608 }; 609 609 610 &pwm4 { 610 &pwm4 { 611 pinctrl-names = "default"; 611 pinctrl-names = "default"; 612 pinctrl-0 = <&pinctrl_pwm4>; 612 pinctrl-0 = <&pinctrl_pwm4>; 613 status = "okay"; 613 status = "okay"; 614 }; 614 }; 615 615 616 &ssi1 { 616 &ssi1 { 617 status = "okay"; 617 status = "okay"; 618 }; 618 }; 619 619 620 &uart1 { 620 &uart1 { 621 pinctrl-names = "default"; 621 pinctrl-names = "default"; 622 pinctrl-0 = <&pinctrl_uart1>; 622 pinctrl-0 = <&pinctrl_uart1>; 623 status = "okay"; 623 status = "okay"; 624 }; 624 }; 625 625 626 &uart2 { 626 &uart2 { 627 pinctrl-names = "default"; 627 pinctrl-names = "default"; 628 pinctrl-0 = <&pinctrl_uart2>; 628 pinctrl-0 = <&pinctrl_uart2>; 629 status = "okay"; 629 status = "okay"; 630 }; 630 }; 631 631 632 &usbh1 { 632 &usbh1 { 633 vbus-supply = <®_usb_h1_vbus>; 633 vbus-supply = <®_usb_h1_vbus>; 634 status = "okay"; 634 status = "okay"; 635 }; 635 }; 636 636 637 &usbotg { 637 &usbotg { 638 vbus-supply = <®_usb_otg_vbus>; 638 vbus-supply = <®_usb_otg_vbus>; 639 pinctrl-names = "default"; 639 pinctrl-names = "default"; 640 pinctrl-0 = <&pinctrl_usbotg>; 640 pinctrl-0 = <&pinctrl_usbotg>; 641 disable-over-current; 641 disable-over-current; 642 status = "okay"; 642 status = "okay"; 643 }; 643 }; 644 644 645 &usdhc2 { 645 &usdhc2 { 646 pinctrl-names = "default"; 646 pinctrl-names = "default"; 647 pinctrl-0 = <&pinctrl_usdhc2>; 647 pinctrl-0 = <&pinctrl_usdhc2>; 648 bus-width = <4>; 648 bus-width = <4>; 649 non-removable; 649 non-removable; 650 vmmc-supply = <®_wlan_vmmc>; 650 vmmc-supply = <®_wlan_vmmc>; 651 cap-power-off-card; 651 cap-power-off-card; 652 keep-power-in-suspend; 652 keep-power-in-suspend; 653 status = "okay"; 653 status = "okay"; 654 654 655 #address-cells = <1>; 655 #address-cells = <1>; 656 #size-cells = <0>; 656 #size-cells = <0>; 657 wlcore: wlcore@2 { 657 wlcore: wlcore@2 { 658 compatible = "ti,wl1271"; 658 compatible = "ti,wl1271"; 659 reg = <2>; 659 reg = <2>; 660 interrupt-parent = <&gpio6>; 660 interrupt-parent = <&gpio6>; 661 interrupts = <14 IRQ_TYPE_LEVE 661 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; 662 ref-clock-frequency = <3840000 662 ref-clock-frequency = <38400000>; 663 }; 663 }; 664 }; 664 }; 665 665 666 &usdhc3 { 666 &usdhc3 { 667 pinctrl-names = "default"; 667 pinctrl-names = "default"; 668 pinctrl-0 = <&pinctrl_usdhc3>; 668 pinctrl-0 = <&pinctrl_usdhc3>; 669 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 669 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 670 vmmc-supply = <®_3p3v>; 670 vmmc-supply = <®_3p3v>; 671 status = "okay"; 671 status = "okay"; 672 }; 672 }; 673 673 674 &usdhc4 { 674 &usdhc4 { 675 pinctrl-names = "default"; 675 pinctrl-names = "default"; 676 pinctrl-0 = <&pinctrl_usdhc4>; 676 pinctrl-0 = <&pinctrl_usdhc4>; 677 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 677 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 678 vmmc-supply = <®_3p3v>; 678 vmmc-supply = <®_3p3v>; 679 status = "okay"; 679 status = "okay"; 680 }; 680 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.