1 // SPDX-License-Identifier: GPL-2.0-only OR MI 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 2 /* 2 /* 3 * AM62A SK: https://www.ti.com/lit/zip/sprr45 3 * AM62A SK: https://www.ti.com/lit/zip/sprr459 4 * 4 * 5 * Copyright (C) 2022-2024 Texas Instruments I 5 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/net/ti-dp83867.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include "k3-am62a7.dtsi" 13 #include "k3-am62a7.dtsi" 14 14 15 / { 15 / { 16 compatible = "ti,am62a7-sk", "ti,am62a 16 compatible = "ti,am62a7-sk", "ti,am62a7"; 17 model = "Texas Instruments AM62A7 SK"; 17 model = "Texas Instruments AM62A7 SK"; 18 18 19 aliases { 19 aliases { 20 serial0 = &wkup_uart0; 20 serial0 = &wkup_uart0; 21 serial2 = &main_uart0; 21 serial2 = &main_uart0; 22 serial3 = &main_uart1; 22 serial3 = &main_uart1; 23 mmc0 = &sdhci0; 23 mmc0 = &sdhci0; 24 mmc1 = &sdhci1; 24 mmc1 = &sdhci1; 25 }; 25 }; 26 26 27 chosen { 27 chosen { 28 stdout-path = "serial2:115200n 28 stdout-path = "serial2:115200n8"; 29 }; 29 }; 30 30 31 memory@80000000 { 31 memory@80000000 { 32 device_type = "memory"; 32 device_type = "memory"; 33 /* 4G RAM */ 33 /* 4G RAM */ 34 reg = <0x00000000 0x80000000 0 34 reg = <0x00000000 0x80000000 0x00000000 0x80000000>, 35 <0x00000008 0x80000000 0 35 <0x00000008 0x80000000 0x00000000 0x80000000>; 36 }; 36 }; 37 37 38 reserved-memory { 38 reserved-memory { 39 #address-cells = <2>; 39 #address-cells = <2>; 40 #size-cells = <2>; 40 #size-cells = <2>; 41 ranges; 41 ranges; 42 42 43 /* global cma region */ << 44 linux,cma { << 45 compatible = "shared-d << 46 reusable; << 47 size = <0x00 0x2400000 << 48 alloc-ranges = <0x00 0 << 49 linux,cma-default; << 50 }; << 51 << 52 secure_tfa_ddr: tfa@9e780000 { 43 secure_tfa_ddr: tfa@9e780000 { 53 reg = <0x00 0x9e780000 44 reg = <0x00 0x9e780000 0x00 0x80000>; 54 alignment = <0x1000>; 45 alignment = <0x1000>; 55 no-map; 46 no-map; 56 }; 47 }; 57 48 58 secure_ddr: optee@9e800000 { 49 secure_ddr: optee@9e800000 { 59 reg = <0x00 0x9e800000 50 reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 60 alignment = <0x1000>; 51 alignment = <0x1000>; 61 no-map; 52 no-map; 62 }; 53 }; 63 54 64 wkup_r5fss0_core0_memory_regio 55 wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { 65 compatible = "shared-d 56 compatible = "shared-dma-pool"; 66 reg = <0x00 0x9c900000 57 reg = <0x00 0x9c900000 0x00 0x01e00000>; 67 no-map; 58 no-map; 68 }; 59 }; 69 }; 60 }; 70 61 71 vmain_pd: regulator-0 { 62 vmain_pd: regulator-0 { 72 /* TPS25750 PD CONTROLLER OUTP 63 /* TPS25750 PD CONTROLLER OUTPUT */ 73 compatible = "regulator-fixed" 64 compatible = "regulator-fixed"; 74 regulator-name = "vmain_pd"; 65 regulator-name = "vmain_pd"; 75 regulator-min-microvolt = <500 66 regulator-min-microvolt = <5000000>; 76 regulator-max-microvolt = <500 67 regulator-max-microvolt = <5000000>; 77 regulator-always-on; 68 regulator-always-on; 78 regulator-boot-on; 69 regulator-boot-on; 79 }; 70 }; 80 71 81 vcc_5v0: regulator-1 { 72 vcc_5v0: regulator-1 { 82 /* Output of TPS63070 */ 73 /* Output of TPS63070 */ 83 compatible = "regulator-fixed" 74 compatible = "regulator-fixed"; 84 regulator-name = "vcc_5v0"; 75 regulator-name = "vcc_5v0"; 85 regulator-min-microvolt = <500 76 regulator-min-microvolt = <5000000>; 86 regulator-max-microvolt = <500 77 regulator-max-microvolt = <5000000>; 87 vin-supply = <&vmain_pd>; 78 vin-supply = <&vmain_pd>; 88 regulator-always-on; 79 regulator-always-on; 89 regulator-boot-on; 80 regulator-boot-on; 90 }; 81 }; 91 82 92 vcc_3v3_main: regulator-2 { 83 vcc_3v3_main: regulator-2 { 93 /* output of LM5141-Q1 */ 84 /* output of LM5141-Q1 */ 94 compatible = "regulator-fixed" 85 compatible = "regulator-fixed"; 95 regulator-name = "vcc_3v3_main 86 regulator-name = "vcc_3v3_main"; 96 regulator-min-microvolt = <330 87 regulator-min-microvolt = <3300000>; 97 regulator-max-microvolt = <330 88 regulator-max-microvolt = <3300000>; 98 vin-supply = <&vmain_pd>; 89 vin-supply = <&vmain_pd>; 99 regulator-always-on; 90 regulator-always-on; 100 regulator-boot-on; 91 regulator-boot-on; 101 }; 92 }; 102 93 103 vdd_mmc1: regulator-3 { 94 vdd_mmc1: regulator-3 { 104 /* TPS22918DBVR */ 95 /* TPS22918DBVR */ 105 compatible = "regulator-fixed" 96 compatible = "regulator-fixed"; 106 regulator-name = "vdd_mmc1"; 97 regulator-name = "vdd_mmc1"; 107 regulator-min-microvolt = <330 98 regulator-min-microvolt = <3300000>; 108 regulator-max-microvolt = <330 99 regulator-max-microvolt = <3300000>; 109 regulator-boot-on; 100 regulator-boot-on; 110 enable-active-high; 101 enable-active-high; 111 gpio = <&exp1 3 GPIO_ACTIVE_HI 102 gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; 112 }; 103 }; 113 104 114 vcc_3v3_sys: regulator-4 { 105 vcc_3v3_sys: regulator-4 { 115 /* output of TPS222965DSGT */ 106 /* output of TPS222965DSGT */ 116 compatible = "regulator-fixed" 107 compatible = "regulator-fixed"; 117 regulator-name = "vcc_3v3_sys" 108 regulator-name = "vcc_3v3_sys"; 118 regulator-min-microvolt = <330 109 regulator-min-microvolt = <3300000>; 119 regulator-max-microvolt = <330 110 regulator-max-microvolt = <3300000>; 120 vin-supply = <&vcc_3v3_main>; 111 vin-supply = <&vcc_3v3_main>; 121 regulator-always-on; 112 regulator-always-on; 122 regulator-boot-on; 113 regulator-boot-on; 123 }; 114 }; 124 115 125 vddshv_sdio: regulator-5 { 116 vddshv_sdio: regulator-5 { 126 compatible = "regulator-gpio"; 117 compatible = "regulator-gpio"; 127 regulator-name = "vddshv_sdio" 118 regulator-name = "vddshv_sdio"; 128 pinctrl-names = "default"; 119 pinctrl-names = "default"; 129 pinctrl-0 = <&vddshv_sdio_pins 120 pinctrl-0 = <&vddshv_sdio_pins_default>; 130 regulator-min-microvolt = <180 121 regulator-min-microvolt = <1800000>; 131 regulator-max-microvolt = <330 122 regulator-max-microvolt = <3300000>; 132 regulator-boot-on; 123 regulator-boot-on; 133 vin-supply = <&ldo1>; 124 vin-supply = <&ldo1>; 134 gpios = <&main_gpio0 31 GPIO_A 125 gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 135 states = <1800000 0x0>, 126 states = <1800000 0x0>, 136 <3300000 0x1>; 127 <3300000 0x1>; 137 }; 128 }; 138 129 139 leds { 130 leds { 140 compatible = "gpio-leds"; 131 compatible = "gpio-leds"; 141 pinctrl-names = "default"; 132 pinctrl-names = "default"; 142 pinctrl-0 = <&usr_led_pins_def 133 pinctrl-0 = <&usr_led_pins_default>; 143 134 144 led-0 { 135 led-0 { 145 label = "am62a-sk:gree 136 label = "am62a-sk:green:heartbeat"; 146 gpios = <&main_gpio1 4 137 gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; 147 linux,default-trigger 138 linux,default-trigger = "heartbeat"; 148 function = LED_FUNCTIO 139 function = LED_FUNCTION_HEARTBEAT; 149 default-state = "off"; 140 default-state = "off"; 150 }; 141 }; 151 }; 142 }; 152 143 153 tlv320_mclk: clk-0 { 144 tlv320_mclk: clk-0 { 154 #clock-cells = <0>; 145 #clock-cells = <0>; 155 compatible = "fixed-clock"; 146 compatible = "fixed-clock"; 156 clock-frequency = <12288000>; 147 clock-frequency = <12288000>; 157 }; 148 }; 158 149 159 hdmi0: connector-hdmi { 150 hdmi0: connector-hdmi { 160 compatible = "hdmi-connector"; 151 compatible = "hdmi-connector"; 161 label = "hdmi"; 152 label = "hdmi"; 162 type = "a"; 153 type = "a"; 163 154 164 port { 155 port { 165 hdmi_connector_in: end 156 hdmi_connector_in: endpoint { 166 remote-endpoin 157 remote-endpoint = <&sii9022_out>; 167 }; 158 }; 168 }; 159 }; 169 }; 160 }; 170 161 171 codec_audio: sound { 162 codec_audio: sound { 172 compatible = "simple-audio-car 163 compatible = "simple-audio-card"; 173 simple-audio-card,name = "AM62 164 simple-audio-card,name = "AM62Ax-SKEVM"; 174 simple-audio-card,widgets = 165 simple-audio-card,widgets = 175 "Headphone", "Headp 166 "Headphone", "Headphone Jack", 176 "Line", "Line 167 "Line", "Line In", 177 "Microphone", "Micro 168 "Microphone", "Microphone Jack"; 178 simple-audio-card,routing = 169 simple-audio-card,routing = 179 "Headphone Jack", 170 "Headphone Jack", "HPLOUT", 180 "Headphone Jack", 171 "Headphone Jack", "HPROUT", 181 "LINE1L", 172 "LINE1L", "Line In", 182 "LINE1R", 173 "LINE1R", "Line In", 183 "MIC3R", 174 "MIC3R", "Microphone Jack", 184 "Microphone Jack", 175 "Microphone Jack", "Mic Bias"; 185 simple-audio-card,format = "ds 176 simple-audio-card,format = "dsp_b"; 186 simple-audio-card,bitclock-mas 177 simple-audio-card,bitclock-master = <&sound_master>; 187 simple-audio-card,frame-master 178 simple-audio-card,frame-master = <&sound_master>; 188 simple-audio-card,bitclock-inv 179 simple-audio-card,bitclock-inversion; 189 180 190 simple-audio-card,cpu { 181 simple-audio-card,cpu { 191 sound-dai = <&mcasp1>; 182 sound-dai = <&mcasp1>; 192 }; 183 }; 193 184 194 sound_master: simple-audio-car 185 sound_master: simple-audio-card,codec { 195 sound-dai = <&tlv320ai 186 sound-dai = <&tlv320aic3106>; 196 clocks = <&tlv320_mclk 187 clocks = <&tlv320_mclk>; 197 }; 188 }; 198 }; 189 }; 199 }; 190 }; 200 191 201 &mcu_pmx0 { 192 &mcu_pmx0 { 202 wkup_uart0_pins_default: wkup-uart0-de 193 wkup_uart0_pins_default: wkup-uart0-default-pins { 203 pinctrl-single,pins = < 194 pinctrl-single,pins = < 204 AM62AX_MCU_IOPAD(0x002 195 AM62AX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (C9) WKUP_UART0_RXD */ 205 AM62AX_MCU_IOPAD(0x002 196 AM62AX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (E9) WKUP_UART0_TXD */ 206 AM62AX_MCU_IOPAD(0x002 197 AM62AX_MCU_IOPAD(0x002c, PIN_INPUT, 0) /* (C10) WKUP_UART0_CTSn */ 207 AM62AX_MCU_IOPAD(0x003 198 AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */ 208 >; 199 >; 209 }; 200 }; 210 }; 201 }; 211 202 212 /* WKUP UART0 is used for DM firmware logs */ 203 /* WKUP UART0 is used for DM firmware logs */ 213 &wkup_uart0 { 204 &wkup_uart0 { 214 pinctrl-names = "default"; 205 pinctrl-names = "default"; 215 pinctrl-0 = <&wkup_uart0_pins_default> 206 pinctrl-0 = <&wkup_uart0_pins_default>; 216 status = "reserved"; 207 status = "reserved"; 217 }; 208 }; 218 209 219 &main_pmx0 { 210 &main_pmx0 { 220 main_dss0_pins_default: main-dss0-defa 211 main_dss0_pins_default: main-dss0-default-pins { 221 pinctrl-single,pins = < 212 pinctrl-single,pins = < 222 AM62AX_IOPAD(0x100, PI 213 AM62AX_IOPAD(0x100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */ 223 AM62AX_IOPAD(0x0f8, PI 214 AM62AX_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */ 224 AM62AX_IOPAD(0x104, PI 215 AM62AX_IOPAD(0x104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */ 225 AM62AX_IOPAD(0x0fc, PI 216 AM62AX_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */ 226 AM62AX_IOPAD(0x0b8, PI 217 AM62AX_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 227 AM62AX_IOPAD(0x0bc, PI 218 AM62AX_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */ 228 AM62AX_IOPAD(0x0c0, PI 219 AM62AX_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */ 229 AM62AX_IOPAD(0x0c4, PI 220 AM62AX_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */ 230 AM62AX_IOPAD(0x0c8, PI 221 AM62AX_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */ 231 AM62AX_IOPAD(0x0cc, PI 222 AM62AX_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */ 232 AM62AX_IOPAD(0x0d0, PI 223 AM62AX_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */ 233 AM62AX_IOPAD(0x0d4, PI 224 AM62AX_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */ 234 AM62AX_IOPAD(0x0d8, PI 225 AM62AX_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */ 235 AM62AX_IOPAD(0x0dc, PI 226 AM62AX_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */ 236 AM62AX_IOPAD(0x0e0, PI 227 AM62AX_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */ 237 AM62AX_IOPAD(0x0e4, PI 228 AM62AX_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */ 238 AM62AX_IOPAD(0x0e8, PI 229 AM62AX_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */ 239 AM62AX_IOPAD(0x0ec, PI 230 AM62AX_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */ 240 AM62AX_IOPAD(0x0f0, PI 231 AM62AX_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */ 241 AM62AX_IOPAD(0x0f4, PI 232 AM62AX_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */ 242 AM62AX_IOPAD(0x05c, PI 233 AM62AX_IOPAD(0x05c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */ 243 AM62AX_IOPAD(0x060, PI 234 AM62AX_IOPAD(0x060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */ 244 AM62AX_IOPAD(0x064, PI 235 AM62AX_IOPAD(0x064, PIN_OUTPUT, 1) /* (R20) GPMC0_AD10.VOUT0_DATA18 */ 245 AM62AX_IOPAD(0x068, PI 236 AM62AX_IOPAD(0x068, PIN_OUTPUT, 1) /* (R22) GPMC0_AD11.VOUT0_DATA19 */ 246 AM62AX_IOPAD(0x06c, PI 237 AM62AX_IOPAD(0x06c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */ 247 AM62AX_IOPAD(0x070, PI 238 AM62AX_IOPAD(0x070, PIN_OUTPUT, 1) /* (R21) GPMC0_AD13.VOUT0_DATA21 */ 248 AM62AX_IOPAD(0x074, PI 239 AM62AX_IOPAD(0x074, PIN_OUTPUT, 1) /* (T20) GPMC0_AD14.VOUT0_DATA22 */ 249 AM62AX_IOPAD(0x078, PI 240 AM62AX_IOPAD(0x078, PIN_OUTPUT, 1) /* (T21) GPMC0_AD15.VOUT0_DATA23 */ 250 >; 241 >; 251 }; 242 }; 252 243 253 main_uart0_pins_default: main-uart0-de 244 main_uart0_pins_default: main-uart0-default-pins { 254 pinctrl-single,pins = < 245 pinctrl-single,pins = < 255 AM62AX_IOPAD(0x1c8, PI 246 AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */ 256 AM62AX_IOPAD(0x1cc, PI 247 AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */ 257 >; 248 >; 258 }; 249 }; 259 250 260 main_uart1_pins_default: main-uart1-de 251 main_uart1_pins_default: main-uart1-default-pins { 261 pinctrl-single,pins = < 252 pinctrl-single,pins = < 262 AM62AX_IOPAD(0x01e8, P 253 AM62AX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C17) I2C1_SCL.UART1_RXD */ 263 AM62AX_IOPAD(0x01ec, P 254 AM62AX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (E17) I2C1_SDA.UART1_TXD */ 264 AM62AX_IOPAD(0x0194, P 255 AM62AX_IOPAD(0x0194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ 265 AM62AX_IOPAD(0x0198, P 256 AM62AX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ 266 >; 257 >; 267 }; 258 }; 268 259 269 main_i2c0_pins_default: main-i2c0-defa 260 main_i2c0_pins_default: main-i2c0-default-pins { 270 pinctrl-single,pins = < 261 pinctrl-single,pins = < 271 AM62AX_IOPAD(0x1e0, PI 262 AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 272 AM62AX_IOPAD(0x1e4, PI 263 AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 273 >; 264 >; 274 }; 265 }; 275 266 276 main_i2c1_pins_default: main-i2c1-defa 267 main_i2c1_pins_default: main-i2c1-default-pins { 277 pinctrl-single,pins = < 268 pinctrl-single,pins = < 278 AM62AX_IOPAD(0x1e8, PI 269 AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ 279 AM62AX_IOPAD(0x1ec, PI 270 AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 280 >; 271 >; 281 }; 272 }; 282 273 283 main_i2c2_pins_default: main-i2c2-defa 274 main_i2c2_pins_default: main-i2c2-default-pins { 284 pinctrl-single,pins = < 275 pinctrl-single,pins = < 285 AM62AX_IOPAD(0x0b0, PI 276 AM62AX_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ 286 AM62AX_IOPAD(0x0b4, PI 277 AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ 287 >; 278 >; 288 }; 279 }; 289 280 290 main_mmc0_pins_default: main-mmc0-defa 281 main_mmc0_pins_default: main-mmc0-default-pins { 291 pinctrl-single,pins = < 282 pinctrl-single,pins = < 292 AM62AX_IOPAD(0x220, PI 283 AM62AX_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 293 AM62AX_IOPAD(0x218, PI 284 AM62AX_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLKLB */ 294 AM62AX_IOPAD(0x21c, PI 285 AM62AX_IOPAD(0x21c, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ 295 AM62AX_IOPAD(0x214, PI 286 AM62AX_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ 296 AM62AX_IOPAD(0x210, PI 287 AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ 297 AM62AX_IOPAD(0x20c, PI 288 AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ 298 AM62AX_IOPAD(0x208, PI 289 AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ 299 AM62AX_IOPAD(0x204, PI 290 AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ 300 AM62AX_IOPAD(0x200, PI 291 AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ 301 AM62AX_IOPAD(0x1fc, PI 292 AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ 302 AM62AX_IOPAD(0x1f8, PI 293 AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ 303 >; 294 >; 304 }; 295 }; 305 296 306 main_mmc1_pins_default: main-mmc1-defa 297 main_mmc1_pins_default: main-mmc1-default-pins { 307 pinctrl-single,pins = < 298 pinctrl-single,pins = < 308 AM62AX_IOPAD(0x23c, PI 299 AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ 309 AM62AX_IOPAD(0x234, PI 300 AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ 310 AM62AX_IOPAD(0x230, PI 301 AM62AX_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ 311 AM62AX_IOPAD(0x22c, PI 302 AM62AX_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ 312 AM62AX_IOPAD(0x228, PI 303 AM62AX_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ 313 AM62AX_IOPAD(0x224, PI 304 AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ 314 AM62AX_IOPAD(0x240, PI 305 AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */ 315 >; 306 >; 316 }; 307 }; 317 308 318 usr_led_pins_default: usr-led-default- 309 usr_led_pins_default: usr-led-default-pins { 319 pinctrl-single,pins = < 310 pinctrl-single,pins = < 320 AM62AX_IOPAD(0x244, PI 311 AM62AX_IOPAD(0x244, PIN_OUTPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */ 321 >; 312 >; 322 }; 313 }; 323 314 324 main_usb1_pins_default: main-usb1-defa 315 main_usb1_pins_default: main-usb1-default-pins { 325 pinctrl-single,pins = < 316 pinctrl-single,pins = < 326 AM62AX_IOPAD(0x0258, P 317 AM62AX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ 327 >; 318 >; 328 }; 319 }; 329 320 330 main_mdio1_pins_default: main-mdio1-de 321 main_mdio1_pins_default: main-mdio1-default-pins { 331 pinctrl-single,pins = < 322 pinctrl-single,pins = < 332 AM62AX_IOPAD(0x160, PI 323 AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */ 333 AM62AX_IOPAD(0x15c, PI 324 AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */ 334 >; 325 >; 335 }; 326 }; 336 327 337 main_rgmii1_pins_default: main-rgmii1- 328 main_rgmii1_pins_default: main-rgmii1-default-pins { 338 pinctrl-single,pins = < 329 pinctrl-single,pins = < 339 AM62AX_IOPAD(0x14c, PI 330 AM62AX_IOPAD(0x14c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */ 340 AM62AX_IOPAD(0x150, PI 331 AM62AX_IOPAD(0x150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */ 341 AM62AX_IOPAD(0x154, PI 332 AM62AX_IOPAD(0x154, PIN_INPUT, 0) /* (W15) RGMII1_RD2 */ 342 AM62AX_IOPAD(0x158, PI 333 AM62AX_IOPAD(0x158, PIN_INPUT, 0) /* (V14) RGMII1_RD3 */ 343 AM62AX_IOPAD(0x148, PI 334 AM62AX_IOPAD(0x148, PIN_INPUT, 0) /* (AA16) RGMII1_RXC */ 344 AM62AX_IOPAD(0x144, PI 335 AM62AX_IOPAD(0x144, PIN_INPUT, 0) /* (AA15) RGMII1_RX_CTL */ 345 AM62AX_IOPAD(0x134, PI 336 AM62AX_IOPAD(0x134, PIN_INPUT, 0) /* (Y17) RGMII1_TD0 */ 346 AM62AX_IOPAD(0x138, PI 337 AM62AX_IOPAD(0x138, PIN_INPUT, 0) /* (V16) RGMII1_TD1 */ 347 AM62AX_IOPAD(0x13c, PI 338 AM62AX_IOPAD(0x13c, PIN_INPUT, 0) /* (Y16) RGMII1_TD2 */ 348 AM62AX_IOPAD(0x140, PI 339 AM62AX_IOPAD(0x140, PIN_INPUT, 0) /* (AA17) RGMII1_TD3 */ 349 AM62AX_IOPAD(0x130, PI 340 AM62AX_IOPAD(0x130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */ 350 AM62AX_IOPAD(0x12c, PI 341 AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */ 351 >; 342 >; 352 }; 343 }; 353 344 354 main_mcasp1_pins_default: main-mcasp1- 345 main_mcasp1_pins_default: main-mcasp1-default-pins { 355 pinctrl-single,pins = < 346 pinctrl-single,pins = < 356 AM62AX_IOPAD(0x090, PI 347 AM62AX_IOPAD(0x090, PIN_INPUT, 2) /* (L19) GPMC0_BE0n_CLE.MCASP1_ACLKX */ 357 AM62AX_IOPAD(0x098, PI 348 AM62AX_IOPAD(0x098, PIN_INPUT, 2) /* (R18) GPMC0_WAIT0.MCASP1_AFSX */ 358 AM62AX_IOPAD(0x08c, PI 349 AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WEn.MCASP1_AXR0 */ 359 AM62AX_IOPAD(0x084, PI 350 AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2 */ 360 >; 351 >; 361 }; 352 }; 362 353 363 main_gpio1_ioexp_intr_pins_default: ma 354 main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 364 pinctrl-single,pins = < 355 pinctrl-single,pins = < 365 AM62AX_IOPAD(0x01d4, P 356 AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ 366 >; 357 >; 367 }; 358 }; 368 359 369 vddshv_sdio_pins_default: vddshv-sdio- 360 vddshv_sdio_pins_default: vddshv-sdio-default-pins { 370 pinctrl-single,pins = < 361 pinctrl-single,pins = < 371 AM62AX_IOPAD(0x07c, PI 362 AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ 372 >; 363 >; 373 }; 364 }; 374 }; 365 }; 375 366 376 &mcu_pmx0 { 367 &mcu_pmx0 { 377 status = "okay"; 368 status = "okay"; 378 369 379 pmic_irq_pins_default: pmic-irq-defaul 370 pmic_irq_pins_default: pmic-irq-default-pins { 380 pinctrl-single,pins = < 371 pinctrl-single,pins = < 381 AM62AX_MCU_IOPAD(0x000 372 AM62AX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */ 382 >; 373 >; 383 }; 374 }; 384 }; 375 }; 385 376 386 &mcu_gpio0 { 377 &mcu_gpio0 { 387 status = "okay"; 378 status = "okay"; 388 }; 379 }; 389 380 390 &main_i2c0 { 381 &main_i2c0 { 391 status = "okay"; 382 status = "okay"; 392 pinctrl-names = "default"; 383 pinctrl-names = "default"; 393 pinctrl-0 = <&main_i2c0_pins_default>; 384 pinctrl-0 = <&main_i2c0_pins_default>; 394 clock-frequency = <400000>; 385 clock-frequency = <400000>; 395 386 396 typec_pd0: usb-power-controller@3f { 387 typec_pd0: usb-power-controller@3f { 397 compatible = "ti,tps6598x"; 388 compatible = "ti,tps6598x"; 398 reg = <0x3f>; 389 reg = <0x3f>; 399 390 400 connector { 391 connector { 401 compatible = "usb-c-co 392 compatible = "usb-c-connector"; 402 label = "USB-C"; 393 label = "USB-C"; 403 self-powered; 394 self-powered; 404 data-role = "dual"; 395 data-role = "dual"; 405 power-role = "sink"; 396 power-role = "sink"; 406 port { 397 port { 407 usb_con_hs: en 398 usb_con_hs: endpoint { 408 remote 399 remote-endpoint = <&usb0_hs_ep>; 409 }; 400 }; 410 }; 401 }; 411 }; 402 }; 412 }; 403 }; 413 404 414 tps659312: pmic@48 { 405 tps659312: pmic@48 { 415 compatible = "ti,tps6593-q1"; 406 compatible = "ti,tps6593-q1"; 416 reg = <0x48>; 407 reg = <0x48>; 417 ti,primary-pmic; 408 ti,primary-pmic; 418 system-power-controller; 409 system-power-controller; 419 410 420 gpio-controller; 411 gpio-controller; 421 #gpio-cells = <2>; 412 #gpio-cells = <2>; 422 413 423 pinctrl-names = "default"; 414 pinctrl-names = "default"; 424 pinctrl-0 = <&pmic_irq_pins_de 415 pinctrl-0 = <&pmic_irq_pins_default>; 425 interrupt-parent = <&mcu_gpio0 416 interrupt-parent = <&mcu_gpio0>; 426 interrupts = <0 IRQ_TYPE_EDGE_ 417 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 427 418 428 buck123-supply = <&vcc_3v3_sys 419 buck123-supply = <&vcc_3v3_sys>; 429 buck4-supply = <&vcc_3v3_sys>; 420 buck4-supply = <&vcc_3v3_sys>; 430 buck5-supply = <&vcc_3v3_sys>; 421 buck5-supply = <&vcc_3v3_sys>; 431 ldo1-supply = <&vcc_3v3_sys>; 422 ldo1-supply = <&vcc_3v3_sys>; 432 ldo2-supply = <&vcc_3v3_sys>; 423 ldo2-supply = <&vcc_3v3_sys>; 433 ldo3-supply = <&buck5>; 424 ldo3-supply = <&buck5>; 434 ldo4-supply = <&vcc_3v3_sys>; 425 ldo4-supply = <&vcc_3v3_sys>; 435 426 436 regulators { 427 regulators { 437 buck123: buck123 { 428 buck123: buck123 { 438 regulator-name 429 regulator-name = "vcc_core"; 439 regulator-min- 430 regulator-min-microvolt = <715000>; 440 regulator-max- 431 regulator-max-microvolt = <895000>; 441 regulator-boot 432 regulator-boot-on; 442 regulator-alwa 433 regulator-always-on; 443 }; 434 }; 444 435 445 buck4: buck4 { 436 buck4: buck4 { 446 regulator-name 437 regulator-name = "vcc_1v1"; 447 regulator-min- 438 regulator-min-microvolt = <1100000>; 448 regulator-max- 439 regulator-max-microvolt = <1100000>; 449 regulator-boot 440 regulator-boot-on; 450 regulator-alwa 441 regulator-always-on; 451 }; 442 }; 452 443 453 buck5: buck5 { 444 buck5: buck5 { 454 regulator-name 445 regulator-name = "vcc_1v8_sys"; 455 regulator-min- 446 regulator-min-microvolt = <1800000>; 456 regulator-max- 447 regulator-max-microvolt = <1800000>; 457 regulator-boot 448 regulator-boot-on; 458 regulator-alwa 449 regulator-always-on; 459 }; 450 }; 460 451 461 ldo1: ldo1 { 452 ldo1: ldo1 { 462 regulator-name 453 regulator-name = "vddshv5_sdio"; 463 regulator-min- 454 regulator-min-microvolt = <3300000>; 464 regulator-max- 455 regulator-max-microvolt = <3300000>; 465 regulator-boot 456 regulator-boot-on; 466 regulator-alwa 457 regulator-always-on; 467 }; 458 }; 468 459 469 ldo2: ldo2 { 460 ldo2: ldo2 { 470 regulator-name 461 regulator-name = "vpp_1v8"; 471 regulator-min- 462 regulator-min-microvolt = <1800000>; 472 regulator-max- 463 regulator-max-microvolt = <1800000>; 473 regulator-boot 464 regulator-boot-on; 474 regulator-alwa 465 regulator-always-on; 475 }; 466 }; 476 467 477 ldo3: ldo3 { 468 ldo3: ldo3 { 478 regulator-name 469 regulator-name = "vcc_0v85"; 479 regulator-min- 470 regulator-min-microvolt = <850000>; 480 regulator-max- 471 regulator-max-microvolt = <850000>; 481 regulator-boot 472 regulator-boot-on; 482 regulator-alwa 473 regulator-always-on; 483 }; 474 }; 484 475 485 ldo4: ldo4 { 476 ldo4: ldo4 { 486 regulator-name 477 regulator-name = "vdda_1v8"; 487 regulator-min- 478 regulator-min-microvolt = <1800000>; 488 regulator-max- 479 regulator-max-microvolt = <1800000>; 489 regulator-boot 480 regulator-boot-on; 490 regulator-alwa 481 regulator-always-on; 491 }; 482 }; 492 }; 483 }; 493 }; 484 }; 494 }; 485 }; 495 486 496 &main_i2c1 { 487 &main_i2c1 { 497 status = "okay"; 488 status = "okay"; 498 pinctrl-names = "default"; 489 pinctrl-names = "default"; 499 pinctrl-0 = <&main_i2c1_pins_default>; 490 pinctrl-0 = <&main_i2c1_pins_default>; 500 clock-frequency = <100000>; 491 clock-frequency = <100000>; 501 492 502 exp1: gpio@22 { 493 exp1: gpio@22 { 503 compatible = "ti,tca6424"; 494 compatible = "ti,tca6424"; 504 reg = <0x22>; 495 reg = <0x22>; 505 gpio-controller; 496 gpio-controller; 506 #gpio-cells = <2>; 497 #gpio-cells = <2>; 507 interrupt-parent = <&main_gpio 498 interrupt-parent = <&main_gpio1>; 508 interrupts = <23 IRQ_TYPE_EDGE 499 interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 509 interrupt-controller; 500 interrupt-controller; 510 #interrupt-cells = <2>; 501 #interrupt-cells = <2>; 511 pinctrl-names = "default"; 502 pinctrl-names = "default"; 512 pinctrl-0 = <&main_gpio1_ioexp 503 pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>; 513 504 514 gpio-line-names = "GPIO_CPSW2_ 505 gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST", 515 "BT_EN_SOC" 506 "BT_EN_SOC", "MMC1_SD_EN", 516 "VPP_EN", " 507 "VPP_EN", "EXP_PS_3V3_En", 517 "EXP_PS_5V0 508 "EXP_PS_5V0_En", "EXP_HAT_DETECT", 518 "GPIO_AUD_R 509 "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn", 519 "UART1_FET_ 510 "UART1_FET_BUF_EN", "BT_UART_WAKE_SOC", 520 "GPIO_HDMI_ 511 "GPIO_HDMI_RSTn", "CSI_GPIO0", 521 "CSI_GPIO1" 512 "CSI_GPIO1", "WLAN_ALERTn", 522 "HDMI_INTn" 513 "HDMI_INTn", "TEST_GPIO2", 523 "MCASP1_FET 514 "MCASP1_FET_EN", "MCASP1_BUF_BT_EN", 524 "MCASP1_FET 515 "MCASP1_FET_SEL", "UART1_FET_SEL", 525 "PD_I2C_IRQ 516 "PD_I2C_IRQ", "IO_EXP_TEST_LED"; 526 }; 517 }; 527 518 528 tlv320aic3106: audio-codec@1b { 519 tlv320aic3106: audio-codec@1b { 529 #sound-dai-cells = <0>; 520 #sound-dai-cells = <0>; 530 compatible = "ti,tlv320aic3106 521 compatible = "ti,tlv320aic3106"; 531 reg = <0x1b>; 522 reg = <0x1b>; 532 ai3x-micbias-vg = <1>; /* 2.0 523 ai3x-micbias-vg = <1>; /* 2.0V */ 533 524 534 /* Regulators */ 525 /* Regulators */ 535 AVDD-supply = <&vcc_3v3_sys>; 526 AVDD-supply = <&vcc_3v3_sys>; 536 IOVDD-supply = <&vcc_3v3_sys>; 527 IOVDD-supply = <&vcc_3v3_sys>; 537 DRVDD-supply = <&vcc_3v3_sys>; 528 DRVDD-supply = <&vcc_3v3_sys>; 538 DVDD-supply = <&buck5>; 529 DVDD-supply = <&buck5>; 539 }; 530 }; 540 531 541 exp2: gpio@23 { 532 exp2: gpio@23 { 542 compatible = "ti,tca6424"; 533 compatible = "ti,tca6424"; 543 reg = <0x23>; 534 reg = <0x23>; 544 gpio-controller; 535 gpio-controller; 545 #gpio-cells = <2>; 536 #gpio-cells = <2>; 546 537 547 gpio-line-names = "", "", 538 gpio-line-names = "", "", 548 "", "", 539 "", "", 549 "", "", 540 "", "", 550 "", "", 541 "", "", 551 "WL_LT_EN", 542 "WL_LT_EN", "CSI_RSTz", 552 "", "", 543 "", "", 553 "", "", 544 "", "", 554 "", "", 545 "", "", 555 "SPI0_FET_SE 546 "SPI0_FET_SEL", "SPI0_FET_OE", 556 "RGMII2_BRD_ 547 "RGMII2_BRD_CONN_DET", "CSI_SEL2", 557 "CSI_EN", "A 548 "CSI_EN", "AUTO_100M_1000M_CONFIG", 558 "CSI_VLDO_SE 549 "CSI_VLDO_SEL", "SoC_WLAN_SDIO_RST"; 559 }; 550 }; 560 551 561 sii9022: bridge-hdmi@3b { 552 sii9022: bridge-hdmi@3b { 562 compatible = "sil,sii9022"; 553 compatible = "sil,sii9022"; 563 reg = <0x3b>; 554 reg = <0x3b>; 564 interrupt-parent = <&exp1>; 555 interrupt-parent = <&exp1>; 565 interrupts = <16 IRQ_TYPE_EDGE 556 interrupts = <16 IRQ_TYPE_EDGE_FALLING>; 566 #sound-dai-cells = <0>; 557 #sound-dai-cells = <0>; 567 sil,i2s-data-lanes = < 0 >; 558 sil,i2s-data-lanes = < 0 >; 568 559 569 ports { 560 ports { 570 #address-cells = <1>; 561 #address-cells = <1>; 571 #size-cells = <0>; 562 #size-cells = <0>; 572 563 573 port@0 { 564 port@0 { 574 reg = <0>; 565 reg = <0>; 575 566 576 sii9022_in: en 567 sii9022_in: endpoint { 577 remote 568 remote-endpoint = <&dpi1_out>; 578 }; 569 }; 579 }; 570 }; 580 571 581 port@1 { 572 port@1 { 582 reg = <1>; 573 reg = <1>; 583 574 584 sii9022_out: e 575 sii9022_out: endpoint { 585 remote 576 remote-endpoint = <&hdmi_connector_in>; 586 }; 577 }; 587 }; 578 }; 588 }; 579 }; 589 }; 580 }; 590 }; 581 }; 591 582 592 &main_i2c2 { 583 &main_i2c2 { 593 status = "okay"; 584 status = "okay"; 594 pinctrl-names = "default"; 585 pinctrl-names = "default"; 595 pinctrl-0 = <&main_i2c2_pins_default>; 586 pinctrl-0 = <&main_i2c2_pins_default>; 596 clock-frequency = <400000>; 587 clock-frequency = <400000>; 597 }; 588 }; 598 589 599 &sdhci0 { 590 &sdhci0 { 600 /* eMMC */ 591 /* eMMC */ 601 status = "okay"; 592 status = "okay"; 602 non-removable; 593 non-removable; 603 pinctrl-names = "default"; 594 pinctrl-names = "default"; 604 pinctrl-0 = <&main_mmc0_pins_default>; 595 pinctrl-0 = <&main_mmc0_pins_default>; 605 disable-wp; 596 disable-wp; 606 }; 597 }; 607 598 608 &sdhci1 { 599 &sdhci1 { 609 /* SD/MMC */ 600 /* SD/MMC */ 610 status = "okay"; 601 status = "okay"; 611 vmmc-supply = <&vdd_mmc1>; 602 vmmc-supply = <&vdd_mmc1>; 612 vqmmc-supply = <&vddshv_sdio>; 603 vqmmc-supply = <&vddshv_sdio>; 613 pinctrl-names = "default"; 604 pinctrl-names = "default"; 614 pinctrl-0 = <&main_mmc1_pins_default>; 605 pinctrl-0 = <&main_mmc1_pins_default>; 615 disable-wp; 606 disable-wp; 616 }; 607 }; 617 608 618 &main_gpio0 { 609 &main_gpio0 { 619 status = "okay"; 610 status = "okay"; 620 }; 611 }; 621 612 622 &main_gpio1 { 613 &main_gpio1 { 623 status = "okay"; 614 status = "okay"; 624 }; 615 }; 625 616 626 &main_gpio_intr { 617 &main_gpio_intr { 627 status = "okay"; 618 status = "okay"; 628 }; 619 }; 629 620 630 &main_uart0 { 621 &main_uart0 { 631 status = "okay"; 622 status = "okay"; 632 pinctrl-names = "default"; 623 pinctrl-names = "default"; 633 pinctrl-0 = <&main_uart0_pins_default> 624 pinctrl-0 = <&main_uart0_pins_default>; 634 }; 625 }; 635 626 636 /* Main UART1 is used for TIFS firmware logs * 627 /* Main UART1 is used for TIFS firmware logs */ 637 &main_uart1 { 628 &main_uart1 { 638 pinctrl-names = "default"; 629 pinctrl-names = "default"; 639 pinctrl-0 = <&main_uart1_pins_default> 630 pinctrl-0 = <&main_uart1_pins_default>; 640 status = "reserved"; 631 status = "reserved"; 641 }; 632 }; 642 633 643 &usbss0 { 634 &usbss0 { 644 status = "okay"; 635 status = "okay"; 645 ti,vbus-divider; 636 ti,vbus-divider; 646 }; 637 }; 647 638 648 &usb0 { 639 &usb0 { 649 usb-role-switch; 640 usb-role-switch; 650 641 651 port { 642 port { 652 usb0_hs_ep: endpoint { 643 usb0_hs_ep: endpoint { 653 remote-endpoint = <&us 644 remote-endpoint = <&usb_con_hs>; 654 }; 645 }; 655 }; 646 }; 656 }; 647 }; 657 648 658 &usbss1 { 649 &usbss1 { 659 status = "okay"; 650 status = "okay"; 660 }; 651 }; 661 652 662 &usb1 { 653 &usb1 { 663 dr_mode = "host"; 654 dr_mode = "host"; 664 pinctrl-names = "default"; 655 pinctrl-names = "default"; 665 pinctrl-0 = <&main_usb1_pins_default>; 656 pinctrl-0 = <&main_usb1_pins_default>; 666 }; 657 }; 667 658 668 &cpsw3g { 659 &cpsw3g { 669 status = "okay"; 660 status = "okay"; 670 pinctrl-names = "default"; 661 pinctrl-names = "default"; 671 pinctrl-0 = <&main_rgmii1_pins_default 662 pinctrl-0 = <&main_rgmii1_pins_default>; 672 }; 663 }; 673 664 674 &cpsw_port1 { 665 &cpsw_port1 { 675 status = "okay"; 666 status = "okay"; 676 phy-mode = "rgmii-rxid"; 667 phy-mode = "rgmii-rxid"; 677 phy-handle = <&cpsw3g_phy0>; 668 phy-handle = <&cpsw3g_phy0>; 678 }; 669 }; 679 670 680 &cpsw_port2 { 671 &cpsw_port2 { 681 status = "disabled"; 672 status = "disabled"; 682 }; 673 }; 683 674 684 &cpsw3g_mdio { 675 &cpsw3g_mdio { 685 status = "okay"; 676 status = "okay"; 686 pinctrl-names = "default"; 677 pinctrl-names = "default"; 687 pinctrl-0 = <&main_mdio1_pins_default> 678 pinctrl-0 = <&main_mdio1_pins_default>; 688 679 689 cpsw3g_phy0: ethernet-phy@0 { 680 cpsw3g_phy0: ethernet-phy@0 { 690 reg = <0>; 681 reg = <0>; 691 ti,rx-internal-delay = <DP8386 682 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 692 ti,fifo-depth = <DP83867_PHYCR 683 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 693 ti,min-output-impedance; 684 ti,min-output-impedance; 694 }; 685 }; 695 }; 686 }; 696 687 697 &mcasp1 { 688 &mcasp1 { 698 status = "okay"; 689 status = "okay"; 699 #sound-dai-cells = <0>; 690 #sound-dai-cells = <0>; 700 691 701 pinctrl-names = "default"; 692 pinctrl-names = "default"; 702 pinctrl-0 = <&main_mcasp1_pins_default 693 pinctrl-0 = <&main_mcasp1_pins_default>; 703 694 704 op-mode = <0>; /* MCASP_IIS_M 695 op-mode = <0>; /* MCASP_IIS_MODE */ 705 tdm-slots = <2>; 696 tdm-slots = <2>; 706 697 707 serial-dir = < /* 0: INACTIVE, 1: TX, 698 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 708 1 0 2 0 699 1 0 2 0 709 0 0 0 0 700 0 0 0 0 710 0 0 0 0 701 0 0 0 0 711 0 0 0 0 702 0 0 0 0 712 >; 703 >; 713 }; 704 }; 714 705 715 &dss { 706 &dss { 716 status = "okay"; 707 status = "okay"; 717 pinctrl-names = "default"; 708 pinctrl-names = "default"; 718 pinctrl-0 = <&main_dss0_pins_default>; 709 pinctrl-0 = <&main_dss0_pins_default>; 719 }; 710 }; 720 711 721 &dss_ports { 712 &dss_ports { 722 /* VP2: DPI Output */ 713 /* VP2: DPI Output */ 723 port@1 { 714 port@1 { 724 reg = <1>; 715 reg = <1>; 725 716 726 dpi1_out: endpoint { 717 dpi1_out: endpoint { 727 remote-endpoint = <&si 718 remote-endpoint = <&sii9022_in>; 728 }; 719 }; 729 }; 720 }; 730 }; 721 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.