1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2017 Beckhoff Automation GmbH & C 3 * Copyright 2017 Beckhoff Automation GmbH & Co. KG 4 * based on imx53-qsb.dts 4 * based on imx53-qsb.dts 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 #include "imx53.dtsi" 8 #include "imx53.dtsi" 9 9 10 / { 10 / { 11 model = "Beckhoff CX9020 Embedded PC"; 11 model = "Beckhoff CX9020 Embedded PC"; 12 compatible = "bhf,cx9020", "fsl,imx53" 12 compatible = "bhf,cx9020", "fsl,imx53"; 13 13 14 chosen { 14 chosen { 15 stdout-path = &uart2; 15 stdout-path = &uart2; 16 }; 16 }; 17 17 18 memory@70000000 { 18 memory@70000000 { 19 device_type = "memory"; 19 device_type = "memory"; 20 reg = <0x70000000 0x20000000>, 20 reg = <0x70000000 0x20000000>, 21 <0xb0000000 0x20000000>; 21 <0xb0000000 0x20000000>; 22 }; 22 }; 23 23 24 display-0 { 24 display-0 { 25 #address-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 26 #size-cells = <0>; 27 compatible = "fsl,imx-parallel 27 compatible = "fsl,imx-parallel-display"; 28 interface-pix-fmt = "rgb24"; 28 interface-pix-fmt = "rgb24"; 29 pinctrl-names = "default"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_ipu_disp 30 pinctrl-0 = <&pinctrl_ipu_disp0>; 31 31 32 port@0 { 32 port@0 { 33 reg = <0>; 33 reg = <0>; 34 34 35 display0_in: endpoint 35 display0_in: endpoint { 36 remote-endpoin 36 remote-endpoint = <&ipu_di0_disp0>; 37 }; 37 }; 38 }; 38 }; 39 39 40 port@1 { 40 port@1 { 41 reg = <1>; 41 reg = <1>; 42 42 43 display0_out: endpoint 43 display0_out: endpoint { 44 remote-endpoin 44 remote-endpoint = <&tfp410_in>; 45 }; 45 }; 46 }; 46 }; 47 }; 47 }; 48 48 49 dvi-connector { 49 dvi-connector { 50 compatible = "dvi-connector"; 50 compatible = "dvi-connector"; 51 ddc-i2c-bus = <&i2c2>; 51 ddc-i2c-bus = <&i2c2>; 52 digital; 52 digital; 53 53 54 port { 54 port { 55 dvi_connector_in: endp 55 dvi_connector_in: endpoint { 56 remote-endpoin 56 remote-endpoint = <&tfp410_out>; 57 }; 57 }; 58 }; 58 }; 59 }; 59 }; 60 60 61 dvi-converter { 61 dvi-converter { 62 compatible = "ti,tfp410"; 62 compatible = "ti,tfp410"; 63 63 64 ports { 64 ports { 65 #address-cells = <1>; 65 #address-cells = <1>; 66 #size-cells = <0>; 66 #size-cells = <0>; 67 67 68 port@0 { 68 port@0 { 69 reg = <0>; 69 reg = <0>; 70 70 71 tfp410_in: end 71 tfp410_in: endpoint { 72 remote 72 remote-endpoint = <&display0_out>; 73 }; 73 }; 74 }; 74 }; 75 75 76 port@1 { 76 port@1 { 77 reg = <1>; 77 reg = <1>; 78 78 79 tfp410_out: en 79 tfp410_out: endpoint { 80 remote 80 remote-endpoint = <&dvi_connector_in>; 81 }; 81 }; 82 }; 82 }; 83 }; 83 }; 84 }; 84 }; 85 85 86 leds { 86 leds { 87 compatible = "gpio-leds"; 87 compatible = "gpio-leds"; 88 88 89 led-pwr-r { 89 led-pwr-r { 90 gpios = <&gpio3 22 GPI 90 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; 91 default-state = "off"; 91 default-state = "off"; 92 }; 92 }; 93 93 94 led-pwr-g { 94 led-pwr-g { 95 gpios = <&gpio3 24 GPI 95 gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; 96 default-state = "on"; 96 default-state = "on"; 97 }; 97 }; 98 98 99 led-pwr-b { 99 led-pwr-b { 100 gpios = <&gpio3 23 GPI 100 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; 101 default-state = "off"; 101 default-state = "off"; 102 }; 102 }; 103 103 104 led-sd1-b { 104 led-sd1-b { 105 linux,default-trigger 105 linux,default-trigger = "mmc0"; 106 gpios = <&gpio3 20 GPI 106 gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; 107 }; 107 }; 108 108 109 led-sd2-b { 109 led-sd2-b { 110 linux,default-trigger 110 linux,default-trigger = "mmc1"; 111 gpios = <&gpio3 17 GPI 111 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; 112 }; 112 }; 113 }; 113 }; 114 114 115 regulator-3p2v { 115 regulator-3p2v { 116 compatible = "regulator-fixed" 116 compatible = "regulator-fixed"; 117 regulator-name = "3P2V"; 117 regulator-name = "3P2V"; 118 regulator-min-microvolt = <320 118 regulator-min-microvolt = <3200000>; 119 regulator-max-microvolt = <320 119 regulator-max-microvolt = <3200000>; 120 regulator-always-on; 120 regulator-always-on; 121 }; 121 }; 122 122 123 reg_usb_vbus: regulator-vbus { 123 reg_usb_vbus: regulator-vbus { 124 compatible = "regulator-fixed" 124 compatible = "regulator-fixed"; 125 regulator-name = "usb_vbus"; 125 regulator-name = "usb_vbus"; 126 regulator-min-microvolt = <500 126 regulator-min-microvolt = <5000000>; 127 regulator-max-microvolt = <500 127 regulator-max-microvolt = <5000000>; 128 gpio = <&gpio7 8 GPIO_ACTIVE_H 128 gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>; 129 enable-active-high; 129 enable-active-high; 130 }; 130 }; 131 }; 131 }; 132 132 133 &esdhc1 { 133 &esdhc1 { 134 pinctrl-names = "default"; 134 pinctrl-names = "default"; 135 pinctrl-0 = <&pinctrl_esdhc1>; 135 pinctrl-0 = <&pinctrl_esdhc1>; 136 cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; 136 cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; 137 bus-width = <4>; 137 bus-width = <4>; 138 status = "okay"; 138 status = "okay"; 139 }; 139 }; 140 140 141 &esdhc2 { 141 &esdhc2 { 142 pinctrl-names = "default"; 142 pinctrl-names = "default"; 143 pinctrl-0 = <&pinctrl_esdhc2>; 143 pinctrl-0 = <&pinctrl_esdhc2>; 144 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 144 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 145 bus-width = <4>; 145 bus-width = <4>; 146 status = "okay"; 146 status = "okay"; 147 }; 147 }; 148 148 149 &fec { 149 &fec { 150 pinctrl-names = "default"; 150 pinctrl-names = "default"; 151 pinctrl-0 = <&pinctrl_fec>; 151 pinctrl-0 = <&pinctrl_fec>; 152 phy-mode = "rmii"; 152 phy-mode = "rmii"; 153 phy-reset-gpios = <&gpio7 6 GPIO_ACTIV 153 phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; 154 status = "okay"; 154 status = "okay"; 155 }; 155 }; 156 156 157 &i2c2 { 157 &i2c2 { 158 pinctrl-names = "default"; 158 pinctrl-names = "default"; 159 pinctrl-0 = <&pinctrl_i2c2>; 159 pinctrl-0 = <&pinctrl_i2c2>; 160 status = "okay"; 160 status = "okay"; 161 }; 161 }; 162 162 163 &ipu_di0_disp0 { 163 &ipu_di0_disp0 { 164 remote-endpoint = <&display0_in>; 164 remote-endpoint = <&display0_in>; 165 }; 165 }; 166 166 167 &uart2 { 167 &uart2 { 168 pinctrl-names = "default"; 168 pinctrl-names = "default"; 169 pinctrl-0 = <&pinctrl_uart2>; 169 pinctrl-0 = <&pinctrl_uart2>; 170 fsl,dte-mode; 170 fsl,dte-mode; 171 status = "okay"; 171 status = "okay"; 172 }; 172 }; 173 173 174 &usbh1 { 174 &usbh1 { 175 vbus-supply = <®_usb_vbus>; 175 vbus-supply = <®_usb_vbus>; 176 phy_type = "utmi"; 176 phy_type = "utmi"; 177 status = "okay"; 177 status = "okay"; 178 }; 178 }; 179 179 180 &usbotg { 180 &usbotg { 181 dr_mode = "peripheral"; 181 dr_mode = "peripheral"; 182 status = "okay"; 182 status = "okay"; 183 }; 183 }; 184 184 185 &vpu { 185 &vpu { 186 status = "okay"; 186 status = "okay"; 187 }; 187 }; 188 188 189 &iomuxc { 189 &iomuxc { 190 pinctrl-names = "default"; 190 pinctrl-names = "default"; 191 pinctrl-0 = <&pinctrl_hog>; 191 pinctrl-0 = <&pinctrl_hog>; 192 192 193 pinctrl_hog: hoggrp { 193 pinctrl_hog: hoggrp { 194 fsl,pins = < 194 fsl,pins = < 195 MX53_PAD_GPIO_0__CCM_C 195 MX53_PAD_GPIO_0__CCM_CLKO 0x1c4 196 MX53_PAD_GPIO_16__I2C3 196 MX53_PAD_GPIO_16__I2C3_SDA 0x1c4 197 MX53_PAD_EIM_D22__GPIO 197 MX53_PAD_EIM_D22__GPIO3_22 0x1c4 198 MX53_PAD_EIM_D23__GPIO 198 MX53_PAD_EIM_D23__GPIO3_23 0x1e4 199 MX53_PAD_EIM_D24__GPIO 199 MX53_PAD_EIM_D24__GPIO3_24 0x1e4 200 >; 200 >; 201 }; 201 }; 202 202 203 pinctrl_esdhc1: esdhc1grp { 203 pinctrl_esdhc1: esdhc1grp { 204 fsl,pins = < 204 fsl,pins = < 205 MX53_PAD_SD1_DATA0__ES 205 MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5 206 MX53_PAD_SD1_DATA1__ES 206 MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5 207 MX53_PAD_SD1_DATA2__ES 207 MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5 208 MX53_PAD_SD1_DATA3__ES 208 MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5 209 MX53_PAD_SD1_CMD__ESDH 209 MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5 210 MX53_PAD_SD1_CLK__ESDH 210 MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5 211 MX53_PAD_GPIO_1__ESDHC 211 MX53_PAD_GPIO_1__ESDHC1_CD 0x1c4 212 MX53_PAD_EIM_D17__GPIO 212 MX53_PAD_EIM_D17__GPIO3_17 0x1e4 213 MX53_PAD_GPIO_3__GPIO1 213 MX53_PAD_GPIO_3__GPIO1_3 0x1c4 214 >; 214 >; 215 }; 215 }; 216 216 217 pinctrl_esdhc2: esdhc2grp { 217 pinctrl_esdhc2: esdhc2grp { 218 fsl,pins = < 218 fsl,pins = < 219 MX53_PAD_SD2_DATA0__ES 219 MX53_PAD_SD2_DATA0__ESDHC2_DAT0 0x1d5 220 MX53_PAD_SD2_DATA1__ES 220 MX53_PAD_SD2_DATA1__ESDHC2_DAT1 0x1d5 221 MX53_PAD_SD2_DATA2__ES 221 MX53_PAD_SD2_DATA2__ESDHC2_DAT2 0x1d5 222 MX53_PAD_SD2_DATA3__ES 222 MX53_PAD_SD2_DATA3__ESDHC2_DAT3 0x1d5 223 MX53_PAD_SD2_CMD__ESDH 223 MX53_PAD_SD2_CMD__ESDHC2_CMD 0x1d5 224 MX53_PAD_SD2_CLK__ESDH 224 MX53_PAD_SD2_CLK__ESDHC2_CLK 0x1d5 225 MX53_PAD_GPIO_4__ESDHC 225 MX53_PAD_GPIO_4__ESDHC2_CD 0x1e4 226 MX53_PAD_EIM_D20__GPIO 226 MX53_PAD_EIM_D20__GPIO3_20 0x1e4 227 MX53_PAD_GPIO_8__GPIO1 227 MX53_PAD_GPIO_8__GPIO1_8 0x1c4 228 >; 228 >; 229 }; 229 }; 230 230 231 pinctrl_fec: fecgrp { 231 pinctrl_fec: fecgrp { 232 fsl,pins = < 232 fsl,pins = < 233 MX53_PAD_FEC_MDC__FEC_ 233 MX53_PAD_FEC_MDC__FEC_MDC 0x4 234 MX53_PAD_FEC_MDIO__FEC 234 MX53_PAD_FEC_MDIO__FEC_MDIO 0x1fc 235 MX53_PAD_FEC_REF_CLK__ 235 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK 0x180 236 MX53_PAD_FEC_RX_ER__FE 236 MX53_PAD_FEC_RX_ER__FEC_RX_ER 0x180 237 MX53_PAD_FEC_CRS_DV__F 237 MX53_PAD_FEC_CRS_DV__FEC_RX_DV 0x180 238 MX53_PAD_FEC_RXD1__FEC 238 MX53_PAD_FEC_RXD1__FEC_RDATA_1 0x180 239 MX53_PAD_FEC_RXD0__FEC 239 MX53_PAD_FEC_RXD0__FEC_RDATA_0 0x180 240 MX53_PAD_FEC_TX_EN__FE 240 MX53_PAD_FEC_TX_EN__FEC_TX_EN 0x4 241 MX53_PAD_FEC_TXD1__FEC 241 MX53_PAD_FEC_TXD1__FEC_TDATA_1 0x4 242 MX53_PAD_FEC_TXD0__FEC 242 MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x4 243 >; 243 >; 244 }; 244 }; 245 245 246 pinctrl_i2c2: i2c2grp { 246 pinctrl_i2c2: i2c2grp { 247 fsl,pins = < 247 fsl,pins = < 248 MX53_PAD_KEY_ROW3__I2C 248 MX53_PAD_KEY_ROW3__I2C2_SDA 0xc0000000 249 MX53_PAD_KEY_COL3__I2C 249 MX53_PAD_KEY_COL3__I2C2_SCL 0xc0000000 250 >; 250 >; 251 }; 251 }; 252 252 253 pinctrl_ipu_disp0: ipudisp0grp { 253 pinctrl_ipu_disp0: ipudisp0grp { 254 fsl,pins = < 254 fsl,pins = < 255 MX53_PAD_DI0_DISP_CLK_ 255 MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x5 256 MX53_PAD_DI0_PIN15__IP 256 MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 0x5 257 MX53_PAD_DI0_PIN2__IPU 257 MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 0x5 258 MX53_PAD_DI0_PIN3__IPU 258 MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 0x5 259 MX53_PAD_DI0_PIN4__IPU 259 MX53_PAD_DI0_PIN4__IPU_DI0_PIN4 0x5 260 MX53_PAD_DISP0_DAT0__I 260 MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 0x5 261 MX53_PAD_DISP0_DAT1__I 261 MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 0x5 262 MX53_PAD_DISP0_DAT2__I 262 MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 0x5 263 MX53_PAD_DISP0_DAT3__I 263 MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 0x5 264 MX53_PAD_DISP0_DAT4__I 264 MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 0x5 265 MX53_PAD_DISP0_DAT5__I 265 MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 0x5 266 MX53_PAD_DISP0_DAT6__I 266 MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 0x5 267 MX53_PAD_DISP0_DAT7__I 267 MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 0x5 268 MX53_PAD_DISP0_DAT8__I 268 MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 0x5 269 MX53_PAD_DISP0_DAT9__I 269 MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 0x5 270 MX53_PAD_DISP0_DAT10__ 270 MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 0x5 271 MX53_PAD_DISP0_DAT11__ 271 MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 0x5 272 MX53_PAD_DISP0_DAT12__ 272 MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 0x5 273 MX53_PAD_DISP0_DAT13__ 273 MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 0x5 274 MX53_PAD_DISP0_DAT14__ 274 MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 0x5 275 MX53_PAD_DISP0_DAT15__ 275 MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 0x5 276 MX53_PAD_DISP0_DAT16__ 276 MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 0x5 277 MX53_PAD_DISP0_DAT17__ 277 MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 0x5 278 MX53_PAD_DISP0_DAT18__ 278 MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 0x5 279 MX53_PAD_DISP0_DAT19__ 279 MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 0x5 280 MX53_PAD_DISP0_DAT20__ 280 MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 0x5 281 MX53_PAD_DISP0_DAT21__ 281 MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 0x5 282 MX53_PAD_DISP0_DAT22__ 282 MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 0x5 283 MX53_PAD_DISP0_DAT23__ 283 MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 0x5 284 >; 284 >; 285 }; 285 }; 286 286 287 pinctrl_uart2: uart2grp { 287 pinctrl_uart2: uart2grp { 288 fsl,pins = < 288 fsl,pins = < 289 MX53_PAD_EIM_D26__UART 289 MX53_PAD_EIM_D26__UART2_RXD_MUX 0x1e4 290 MX53_PAD_EIM_D27__UART 290 MX53_PAD_EIM_D27__UART2_TXD_MUX 0x1e4 291 MX53_PAD_EIM_D28__UART 291 MX53_PAD_EIM_D28__UART2_RTS 0x1e4 292 MX53_PAD_EIM_D29__UART 292 MX53_PAD_EIM_D29__UART2_CTS 0x1e4 293 >; 293 >; 294 }; 294 }; 295 }; 295 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.