1 // SPDX-License-Identifier: GPL-2.0 OR MIT 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 // 2 // 3 // Copyright 2019 Armadeus Systems <support@arm 3 // Copyright 2019 Armadeus Systems <support@armadeus.com> 4 4 5 / { 5 / { 6 chosen { 6 chosen { 7 stdout-path = &uart1; 7 stdout-path = &uart1; 8 }; 8 }; 9 9 10 backlight: backlight { 10 backlight: backlight { 11 compatible = "pwm-backlight"; 11 compatible = "pwm-backlight"; 12 pwms = <&pwm3 0 191000 0>; 12 pwms = <&pwm3 0 191000 0>; 13 brightness-levels = <0 4 8 16 13 brightness-levels = <0 4 8 16 32 64 128 255>; 14 default-brightness-level = <7> 14 default-brightness-level = <7>; 15 power-supply = <®_5v>; 15 power-supply = <®_5v>; 16 status = "okay"; 16 status = "okay"; 17 }; 17 }; 18 18 19 gpio-keys { 19 gpio-keys { 20 compatible = "gpio-keys"; 20 compatible = "gpio-keys"; 21 pinctrl-names = "default"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_gpio_key 22 pinctrl-0 = <&pinctrl_gpio_keys>; 23 23 24 user-button { 24 user-button { 25 label = "User button"; 25 label = "User button"; 26 gpios = <&gpio2 11 GPI 26 gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; 27 linux,code = <BTN_MISC 27 linux,code = <BTN_MISC>; 28 wakeup-source; 28 wakeup-source; 29 }; 29 }; 30 }; 30 }; 31 31 32 leds { 32 leds { 33 compatible = "gpio-leds"; 33 compatible = "gpio-leds"; 34 34 35 user-led { 35 user-led { 36 label = "User"; 36 label = "User"; 37 pinctrl-names = "defau 37 pinctrl-names = "default"; 38 pinctrl-0 = <&pinctrl_ 38 pinctrl-0 = <&pinctrl_led>; 39 gpios = <&gpio3 4 GPIO 39 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; 40 linux,default-trigger 40 linux,default-trigger = "heartbeat"; 41 }; 41 }; 42 }; 42 }; 43 43 44 onewire { 44 onewire { 45 compatible = "w1-gpio"; 45 compatible = "w1-gpio"; 46 pinctrl-names = "default"; 46 pinctrl-names = "default"; 47 pinctrl-0 = <&pinctrl_w1>; 47 pinctrl-0 = <&pinctrl_w1>; 48 gpios = <&gpio5 1 GPIO_ACTIVE_ 48 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 49 }; 49 }; 50 50 51 panel: panel { 51 panel: panel { 52 compatible = "armadeus,st0700- 52 compatible = "armadeus,st0700-adapt"; 53 power-supply = <®_3v3>; 53 power-supply = <®_3v3>; 54 backlight = <&backlight>; 54 backlight = <&backlight>; 55 55 56 port { 56 port { 57 panel_in: endpoint { 57 panel_in: endpoint { 58 remote-endpoin 58 remote-endpoint = <&lcdif_out>; 59 }; 59 }; 60 }; 60 }; 61 }; 61 }; 62 62 63 reg_5v: regulator-5v { 63 reg_5v: regulator-5v { 64 compatible = "regulator-fixed" 64 compatible = "regulator-fixed"; 65 regulator-name = "5V"; 65 regulator-name = "5V"; 66 regulator-min-microvolt = <500 66 regulator-min-microvolt = <5000000>; 67 regulator-max-microvolt = <500 67 regulator-max-microvolt = <5000000>; 68 }; 68 }; 69 69 70 reg_usbotg1_vbus: regulator-usbotg1vbu 70 reg_usbotg1_vbus: regulator-usbotg1vbus { 71 compatible = "regulator-fixed" 71 compatible = "regulator-fixed"; 72 regulator-name = "usbotg1vbus" 72 regulator-name = "usbotg1vbus"; 73 regulator-min-microvolt = <500 73 regulator-min-microvolt = <5000000>; 74 regulator-max-microvolt = <500 74 regulator-max-microvolt = <5000000>; 75 pinctrl-names = "default"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&pinctrl_usbotg1_ 76 pinctrl-0 = <&pinctrl_usbotg1_vbus>; 77 gpio = <&gpio1 5 GPIO_ACTIVE_H 77 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; 78 enable-active-high; 78 enable-active-high; 79 }; 79 }; 80 80 81 reg_usbotg2_vbus: regulator-usbotg2vbu 81 reg_usbotg2_vbus: regulator-usbotg2vbus { 82 compatible = "regulator-fixed" 82 compatible = "regulator-fixed"; 83 regulator-name = "usbotg2vbus" 83 regulator-name = "usbotg2vbus"; 84 regulator-min-microvolt = <500 84 regulator-min-microvolt = <5000000>; 85 regulator-max-microvolt = <500 85 regulator-max-microvolt = <5000000>; 86 pinctrl-names = "default"; 86 pinctrl-names = "default"; 87 pinctrl-0 = <&pinctrl_usbotg2_ 87 pinctrl-0 = <&pinctrl_usbotg2_vbus>; 88 gpio = <&gpio5 9 GPIO_ACTIVE_H 88 gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>; 89 enable-active-high; 89 enable-active-high; 90 }; 90 }; 91 }; 91 }; 92 92 93 &adc1 { 93 &adc1 { 94 vref-supply = <®_3v3>; 94 vref-supply = <®_3v3>; 95 status = "okay"; 95 status = "okay"; 96 }; 96 }; 97 97 98 &can1 { 98 &can1 { 99 pinctrl-names = "default"; 99 pinctrl-names = "default"; 100 pinctrl-0 = <&pinctrl_flexcan1>; 100 pinctrl-0 = <&pinctrl_flexcan1>; 101 xceiver-supply = <®_5v>; 101 xceiver-supply = <®_5v>; 102 status = "okay"; 102 status = "okay"; 103 }; 103 }; 104 104 105 &can2 { 105 &can2 { 106 pinctrl-names = "default"; 106 pinctrl-names = "default"; 107 pinctrl-0 = <&pinctrl_flexcan2>; 107 pinctrl-0 = <&pinctrl_flexcan2>; 108 xceiver-supply = <®_5v>; 108 xceiver-supply = <®_5v>; 109 status = "okay"; 109 status = "okay"; 110 }; 110 }; 111 111 112 &ecspi4 { 112 &ecspi4 { 113 pinctrl-names = "default"; 113 pinctrl-names = "default"; 114 pinctrl-0 = <&pinctrl_ecspi4>; 114 pinctrl-0 = <&pinctrl_ecspi4>; 115 cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, 115 cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, <&gpio4 3 GPIO_ACTIVE_LOW>; 116 status = "okay"; 116 status = "okay"; 117 }; 117 }; 118 118 119 &i2c1 { 119 &i2c1 { 120 pinctrl-names = "default"; 120 pinctrl-names = "default"; 121 pinctrl-0 = <&pinctrl_i2c1>; 121 pinctrl-0 = <&pinctrl_i2c1>; 122 clock-frequency = <400000>; 122 clock-frequency = <400000>; 123 status = "okay"; 123 status = "okay"; 124 }; 124 }; 125 125 126 &i2c2 { 126 &i2c2 { 127 pinctrl-names = "default"; 127 pinctrl-names = "default"; 128 pinctrl-0 = <&pinctrl_i2c2>; 128 pinctrl-0 = <&pinctrl_i2c2>; 129 clock-frequency = <400000>; 129 clock-frequency = <400000>; 130 status = "okay"; 130 status = "okay"; 131 }; 131 }; 132 132 133 &lcdif { 133 &lcdif { 134 pinctrl-names = "default"; 134 pinctrl-names = "default"; 135 pinctrl-0 = <&pinctrl_lcdif>; 135 pinctrl-0 = <&pinctrl_lcdif>; 136 status = "okay"; 136 status = "okay"; 137 137 138 port { 138 port { 139 lcdif_out: endpoint { 139 lcdif_out: endpoint { 140 remote-endpoint = <&pa 140 remote-endpoint = <&panel_in>; 141 }; 141 }; 142 }; 142 }; 143 }; 143 }; 144 144 145 &pwm3 { 145 &pwm3 { 146 pinctrl-names = "default"; 146 pinctrl-names = "default"; 147 pinctrl-0 = <&pinctrl_pwm3>; 147 pinctrl-0 = <&pinctrl_pwm3>; 148 status = "okay"; 148 status = "okay"; 149 }; 149 }; 150 150 151 &snvs_pwrkey { 151 &snvs_pwrkey { 152 status = "disabled"; 152 status = "disabled"; 153 }; 153 }; 154 154 155 &tsc { 155 &tsc { 156 pinctrl-names = "default"; 156 pinctrl-names = "default"; 157 pinctrl-0 = <&pinctrl_tsc>; 157 pinctrl-0 = <&pinctrl_tsc>; 158 xnur-gpios = <&gpio1 3 GPIO_ACTIVE_LOW 158 xnur-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 159 measure-delay-time = <0xffff>; 159 measure-delay-time = <0xffff>; 160 pre-charge-time = <0xffff>; 160 pre-charge-time = <0xffff>; 161 status = "okay"; 161 status = "okay"; 162 }; 162 }; 163 163 164 &uart1 { 164 &uart1 { 165 pinctrl-names = "default"; 165 pinctrl-names = "default"; 166 pinctrl-0 = <&pinctrl_uart1>; 166 pinctrl-0 = <&pinctrl_uart1>; 167 status = "okay"; 167 status = "okay"; 168 }; 168 }; 169 169 170 &uart2 { 170 &uart2 { 171 pinctrl-names = "default"; 171 pinctrl-names = "default"; 172 pinctrl-0 = <&pinctrl_uart2>; 172 pinctrl-0 = <&pinctrl_uart2>; 173 status = "okay"; 173 status = "okay"; 174 }; 174 }; 175 175 176 &usbotg1 { 176 &usbotg1 { 177 pinctrl-names = "default"; 177 pinctrl-names = "default"; 178 pinctrl-0 = <&pinctrl_usbotg1_id>; 178 pinctrl-0 = <&pinctrl_usbotg1_id>; 179 vbus-supply = <®_usbotg1_vbus>; 179 vbus-supply = <®_usbotg1_vbus>; 180 dr_mode = "otg"; 180 dr_mode = "otg"; 181 disable-over-current; 181 disable-over-current; 182 status = "okay"; 182 status = "okay"; 183 }; 183 }; 184 184 185 &usbotg2 { 185 &usbotg2 { 186 vbus-supply = <®_usbotg2_vbus>; 186 vbus-supply = <®_usbotg2_vbus>; 187 dr_mode = "host"; 187 dr_mode = "host"; 188 disable-over-current; 188 disable-over-current; 189 status = "okay"; 189 status = "okay"; 190 }; 190 }; 191 191 192 &iomuxc { 192 &iomuxc { 193 pinctrl-names = "default"; 193 pinctrl-names = "default"; 194 pinctrl-0 = <&pinctrl_gpios>; 194 pinctrl-0 = <&pinctrl_gpios>; 195 195 196 pinctrl_ecspi4: ecspi4grp { 196 pinctrl_ecspi4: ecspi4grp { 197 fsl,pins = < 197 fsl,pins = < 198 MX6UL_PAD_NAND_DATA04_ 198 MX6UL_PAD_NAND_DATA04__ECSPI4_SCLK 0x1b0b0 199 MX6UL_PAD_NAND_DATA05_ 199 MX6UL_PAD_NAND_DATA05__ECSPI4_MOSI 0x1b0b0 200 MX6UL_PAD_NAND_DATA06_ 200 MX6UL_PAD_NAND_DATA06__ECSPI4_MISO 0x1b0b0 201 MX6UL_PAD_NAND_DATA01_ 201 MX6UL_PAD_NAND_DATA01__GPIO4_IO03 0x1b0b0 202 MX6UL_PAD_NAND_DATA07_ 202 MX6UL_PAD_NAND_DATA07__GPIO4_IO09 0x1b0b0 203 >; 203 >; 204 }; 204 }; 205 205 206 pinctrl_flexcan1: flexcan1grp { 206 pinctrl_flexcan1: flexcan1grp { 207 fsl,pins = < 207 fsl,pins = < 208 MX6UL_PAD_UART3_CTS_B_ 208 MX6UL_PAD_UART3_CTS_B__FLEXCAN1_TX 0x0b0b0 209 MX6UL_PAD_UART3_RTS_B_ 209 MX6UL_PAD_UART3_RTS_B__FLEXCAN1_RX 0x0b0b0 210 >; 210 >; 211 }; 211 }; 212 212 213 pinctrl_flexcan2: flexcan2grp { 213 pinctrl_flexcan2: flexcan2grp { 214 fsl,pins = < 214 fsl,pins = < 215 MX6UL_PAD_UART2_CTS_B_ 215 MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x0b0b0 216 MX6UL_PAD_UART2_RTS_B_ 216 MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x0b0b0 217 >; 217 >; 218 }; 218 }; 219 219 220 pinctrl_gpios: gpiosgrp { 220 pinctrl_gpios: gpiosgrp { 221 fsl,pins = < 221 fsl,pins = < 222 MX6UL_PAD_GPIO1_IO09__ 222 MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x0b0b0 223 MX6UL_PAD_UART3_RX_DAT 223 MX6UL_PAD_UART3_RX_DATA__GPIO1_IO25 0x0b0b0 224 MX6UL_PAD_UART3_TX_DAT 224 MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0x0b0b0 225 MX6UL_PAD_NAND_RE_B__G 225 MX6UL_PAD_NAND_RE_B__GPIO4_IO00 0x0b0b0 226 MX6UL_PAD_GPIO1_IO08__ 226 MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0x0b0b0 227 MX6UL_PAD_UART1_CTS_B_ 227 MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x0b0b0 228 MX6UL_PAD_UART1_RTS_B_ 228 MX6UL_PAD_UART1_RTS_B__GPIO1_IO19 0x0b0b0 229 MX6UL_PAD_NAND_WE_B__G 229 MX6UL_PAD_NAND_WE_B__GPIO4_IO01 0x0b0b0 230 >; 230 >; 231 }; 231 }; 232 232 233 pinctrl_gpio_keys: gpiokeysgrp { 233 pinctrl_gpio_keys: gpiokeysgrp { 234 fsl,pins = < 234 fsl,pins = < 235 MX6UL_PAD_ENET2_TX_DAT 235 MX6UL_PAD_ENET2_TX_DATA0__GPIO2_IO11 0x0b0b0 236 >; 236 >; 237 }; 237 }; 238 238 239 pinctrl_i2c1: i2c1grp { 239 pinctrl_i2c1: i2c1grp { 240 fsl,pins = < 240 fsl,pins = < 241 MX6UL_PAD_UART4_RX_DAT 241 MX6UL_PAD_UART4_RX_DATA__I2C1_SDA 0x4001b8b0 242 MX6UL_PAD_UART4_TX_DAT 242 MX6UL_PAD_UART4_TX_DATA__I2C1_SCL 0x4001b8b0 243 >; 243 >; 244 }; 244 }; 245 245 246 pinctrl_i2c2: i2c2grp { 246 pinctrl_i2c2: i2c2grp { 247 fsl,pins = < 247 fsl,pins = < 248 MX6UL_PAD_UART5_RX_DAT 248 MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0 249 MX6UL_PAD_UART5_TX_DAT 249 MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0 250 >; 250 >; 251 }; 251 }; 252 252 253 pinctrl_lcdif: lcdifgrp { 253 pinctrl_lcdif: lcdifgrp { 254 fsl,pins = < 254 fsl,pins = < 255 MX6UL_PAD_LCD_CLK__LCD 255 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x100b1 256 MX6UL_PAD_LCD_ENABLE__ 256 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x100b1 257 MX6UL_PAD_LCD_HSYNC__L 257 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x100b1 258 MX6UL_PAD_LCD_VSYNC__L 258 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x100b1 259 MX6UL_PAD_LCD_DATA00__ 259 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x100b1 260 MX6UL_PAD_LCD_DATA01__ 260 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x100b1 261 MX6UL_PAD_LCD_DATA02__ 261 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x100b1 262 MX6UL_PAD_LCD_DATA03__ 262 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x100b1 263 MX6UL_PAD_LCD_DATA04__ 263 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x100b1 264 MX6UL_PAD_LCD_DATA05__ 264 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x100b1 265 MX6UL_PAD_LCD_DATA06__ 265 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x100b1 266 MX6UL_PAD_LCD_DATA07__ 266 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x100b1 267 MX6UL_PAD_LCD_DATA08__ 267 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x100b1 268 MX6UL_PAD_LCD_DATA09__ 268 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x100b1 269 MX6UL_PAD_LCD_DATA10__ 269 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x100b1 270 MX6UL_PAD_LCD_DATA11__ 270 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x100b1 271 MX6UL_PAD_LCD_DATA12__ 271 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x100b1 272 MX6UL_PAD_LCD_DATA13__ 272 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x100b1 273 MX6UL_PAD_LCD_DATA14__ 273 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x100b1 274 MX6UL_PAD_LCD_DATA15__ 274 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x100b1 275 MX6UL_PAD_LCD_DATA16__ 275 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x100b1 276 MX6UL_PAD_LCD_DATA17__ 276 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x100b1 277 >; 277 >; 278 }; 278 }; 279 279 280 pinctrl_led: ledgrp { 280 pinctrl_led: ledgrp { 281 fsl,pins = < 281 fsl,pins = < 282 MX6UL_PAD_LCD_RESET__G 282 MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x0b0b0 283 >; 283 >; 284 }; 284 }; 285 285 286 pinctrl_pwm3: pwm3grp { 286 pinctrl_pwm3: pwm3grp { 287 fsl,pins = < 287 fsl,pins = < 288 MX6UL_PAD_NAND_ALE__PW 288 MX6UL_PAD_NAND_ALE__PWM3_OUT 0x1b0b0 289 >; 289 >; 290 }; 290 }; 291 291 292 pinctrl_tsc: tscgrp { 292 pinctrl_tsc: tscgrp { 293 fsl,pins = < 293 fsl,pins = < 294 MX6UL_PAD_GPIO1_IO01__ 294 MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0 295 MX6UL_PAD_GPIO1_IO02__ 295 MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0 296 MX6UL_PAD_GPIO1_IO03__ 296 MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0 297 MX6UL_PAD_GPIO1_IO04__ 297 MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0 298 >; 298 >; 299 }; 299 }; 300 300 301 pinctrl_uart1: uart1grp { 301 pinctrl_uart1: uart1grp { 302 fsl,pins = < 302 fsl,pins = < 303 MX6UL_PAD_UART1_TX_DAT 303 MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1 304 MX6UL_PAD_UART1_RX_DAT 304 MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX 0x1b0b1 305 >; 305 >; 306 }; 306 }; 307 307 308 pinctrl_uart2: uart2grp { 308 pinctrl_uart2: uart2grp { 309 fsl,pins = < 309 fsl,pins = < 310 MX6UL_PAD_UART2_TX_DAT 310 MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x1b0b1 311 MX6UL_PAD_UART2_RX_DAT 311 MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x1b0b1 312 >; 312 >; 313 }; 313 }; 314 314 315 pinctrl_usbotg1_id: usbotg1idgrp { 315 pinctrl_usbotg1_id: usbotg1idgrp { 316 fsl,pins = < 316 fsl,pins = < 317 MX6UL_PAD_GPIO1_IO00__ 317 MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x1b0b0 318 >; 318 >; 319 }; 319 }; 320 320 321 pinctrl_usbotg1_vbus: usbotg1vbusgrp { 321 pinctrl_usbotg1_vbus: usbotg1vbusgrp { 322 fsl,pins = < 322 fsl,pins = < 323 MX6UL_PAD_GPIO1_IO05__ 323 MX6UL_PAD_GPIO1_IO05__GPIO1_IO05 0x1b0b0 324 >; 324 >; 325 }; 325 }; 326 }; 326 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.