1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2020 Dongjin Kim <tobetter@gma 3 * Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com> 4 */ 4 */ 5 5 6 #include "meson-sm1.dtsi" 6 #include "meson-sm1.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 8 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmit 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 10 10 11 / { 11 / { 12 aliases { 12 aliases { 13 serial0 = &uart_AO; 13 serial0 = &uart_AO; 14 ethernet0 = ðmac; 14 ethernet0 = ðmac; 15 }; 15 }; 16 16 17 chosen { 17 chosen { 18 stdout-path = "serial0:115200n 18 stdout-path = "serial0:115200n8"; 19 }; 19 }; 20 20 21 memory@0 { 21 memory@0 { 22 device_type = "memory"; 22 device_type = "memory"; 23 reg = <0x0 0x0 0x0 0x40000000> 23 reg = <0x0 0x0 0x0 0x40000000>; 24 }; 24 }; 25 25 26 emmc_pwrseq: emmc-pwrseq { 26 emmc_pwrseq: emmc-pwrseq { 27 compatible = "mmc-pwrseq-emmc" 27 compatible = "mmc-pwrseq-emmc"; 28 reset-gpios = <&gpio BOOT_12 G 28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 29 }; 29 }; 30 30 31 tflash_vdd: regulator-tflash-vdd { 31 tflash_vdd: regulator-tflash-vdd { 32 compatible = "regulator-fixed" 32 compatible = "regulator-fixed"; 33 33 34 regulator-name = "TFLASH_VDD"; 34 regulator-name = "TFLASH_VDD"; 35 regulator-min-microvolt = <330 35 regulator-min-microvolt = <3300000>; 36 regulator-max-microvolt = <330 36 regulator-max-microvolt = <3300000>; 37 37 38 gpio = <&gpio_ao GPIOAO_3 GPIO 38 gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>; 39 enable-active-high; 39 enable-active-high; 40 regulator-always-on; 40 regulator-always-on; 41 }; 41 }; 42 42 43 tf_io: gpio-regulator-tf-io { 43 tf_io: gpio-regulator-tf-io { 44 compatible = "regulator-gpio"; 44 compatible = "regulator-gpio"; 45 45 46 regulator-name = "TF_IO"; 46 regulator-name = "TF_IO"; 47 regulator-min-microvolt = <180 47 regulator-min-microvolt = <1800000>; 48 regulator-max-microvolt = <330 48 regulator-max-microvolt = <3300000>; 49 vin-supply = <&vcc_5v>; 49 vin-supply = <&vcc_5v>; 50 50 51 enable-gpios = <&gpio_ao GPIOE 51 enable-gpios = <&gpio_ao GPIOE_2 GPIO_OPEN_DRAIN>; 52 enable-active-high; 52 enable-active-high; 53 regulator-always-on; 53 regulator-always-on; 54 54 55 gpios = <&gpio_ao GPIOAO_6 GPI 55 gpios = <&gpio_ao GPIOAO_6 GPIO_OPEN_SOURCE>; 56 gpios-states = <0>; 56 gpios-states = <0>; 57 57 58 states = <3300000 0>, 58 states = <3300000 0>, 59 <1800000 1>; 59 <1800000 1>; 60 }; 60 }; 61 61 62 flash_1v8: regulator-flash-1v8 { 62 flash_1v8: regulator-flash-1v8 { 63 compatible = "regulator-fixed" 63 compatible = "regulator-fixed"; 64 regulator-name = "FLASH_1V8"; 64 regulator-name = "FLASH_1V8"; 65 regulator-min-microvolt = <180 65 regulator-min-microvolt = <1800000>; 66 regulator-max-microvolt = <180 66 regulator-max-microvolt = <1800000>; 67 vin-supply = <&vcc_3v3>; 67 vin-supply = <&vcc_3v3>; 68 regulator-always-on; 68 regulator-always-on; 69 }; 69 }; 70 70 71 main_12v: regulator-main-12v { 71 main_12v: regulator-main-12v { 72 compatible = "regulator-fixed" 72 compatible = "regulator-fixed"; 73 regulator-name = "12V"; 73 regulator-name = "12V"; 74 regulator-min-microvolt = <120 74 regulator-min-microvolt = <12000000>; 75 regulator-max-microvolt = <120 75 regulator-max-microvolt = <12000000>; 76 regulator-always-on; 76 regulator-always-on; 77 }; 77 }; 78 78 79 vcc_5v: regulator-vcc-5v { 79 vcc_5v: regulator-vcc-5v { 80 compatible = "regulator-fixed" 80 compatible = "regulator-fixed"; 81 regulator-name = "5V"; 81 regulator-name = "5V"; 82 regulator-min-microvolt = <500 82 regulator-min-microvolt = <5000000>; 83 regulator-max-microvolt = <500 83 regulator-max-microvolt = <5000000>; 84 regulator-always-on; 84 regulator-always-on; 85 vin-supply = <&main_12v>; 85 vin-supply = <&main_12v>; 86 gpio = <&gpio GPIOH_8 GPIO_OPE 86 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; 87 enable-active-high; 87 enable-active-high; 88 }; 88 }; 89 89 90 vcc_1v8: regulator-vcc-1v8 { 90 vcc_1v8: regulator-vcc-1v8 { 91 compatible = "regulator-fixed" 91 compatible = "regulator-fixed"; 92 regulator-name = "VCC_1V8"; 92 regulator-name = "VCC_1V8"; 93 regulator-min-microvolt = <180 93 regulator-min-microvolt = <1800000>; 94 regulator-max-microvolt = <180 94 regulator-max-microvolt = <1800000>; 95 vin-supply = <&vcc_3v3>; 95 vin-supply = <&vcc_3v3>; 96 regulator-always-on; 96 regulator-always-on; 97 }; 97 }; 98 98 99 vcc_3v3: regulator-vcc-3v3 { 99 vcc_3v3: regulator-vcc-3v3 { 100 compatible = "regulator-fixed" 100 compatible = "regulator-fixed"; 101 regulator-name = "VCC_3V3"; 101 regulator-name = "VCC_3V3"; 102 regulator-min-microvolt = <330 102 regulator-min-microvolt = <3300000>; 103 regulator-max-microvolt = <330 103 regulator-max-microvolt = <3300000>; 104 vin-supply = <&vddao_3v3>; 104 vin-supply = <&vddao_3v3>; 105 regulator-always-on; 105 regulator-always-on; 106 /* FIXME: actually controlled 106 /* FIXME: actually controlled by VDDCPU_B_EN */ 107 }; 107 }; 108 108 109 vddcpu: regulator-vddcpu { 109 vddcpu: regulator-vddcpu { 110 /* 110 /* 111 * MP8756GD Regulator. 111 * MP8756GD Regulator. 112 */ 112 */ 113 compatible = "pwm-regulator"; 113 compatible = "pwm-regulator"; 114 114 115 regulator-name = "VDDCPU"; 115 regulator-name = "VDDCPU"; 116 regulator-min-microvolt = <721 116 regulator-min-microvolt = <721000>; 117 regulator-max-microvolt = <102 117 regulator-max-microvolt = <1022000>; 118 118 119 pwm-supply = <&main_12v>; 119 pwm-supply = <&main_12v>; 120 120 121 pwms = <&pwm_AO_cd 1 1250 0>; 121 pwms = <&pwm_AO_cd 1 1250 0>; 122 pwm-dutycycle-range = <100 0>; 122 pwm-dutycycle-range = <100 0>; 123 123 124 regulator-boot-on; 124 regulator-boot-on; 125 regulator-always-on; 125 regulator-always-on; 126 }; 126 }; 127 127 128 usb_pwr_en: regulator-usb-pwr-en { 128 usb_pwr_en: regulator-usb-pwr-en { 129 compatible = "regulator-fixed" 129 compatible = "regulator-fixed"; 130 regulator-name = "USB_PWR_EN"; 130 regulator-name = "USB_PWR_EN"; 131 regulator-min-microvolt = <500 131 regulator-min-microvolt = <5000000>; 132 regulator-max-microvolt = <500 132 regulator-max-microvolt = <5000000>; 133 vin-supply = <&vcc_5v>; 133 vin-supply = <&vcc_5v>; 134 134 135 /* Connected to the microUSB p 135 /* Connected to the microUSB port power enable */ 136 gpio = <&gpio_ao GPIOAO_2 GPIO 136 gpio = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 137 enable-active-high; 137 enable-active-high; 138 }; 138 }; 139 139 140 vddao_1v8: regulator-vddao-1v8 { 140 vddao_1v8: regulator-vddao-1v8 { 141 compatible = "regulator-fixed" 141 compatible = "regulator-fixed"; 142 regulator-name = "VDDAO_1V8"; 142 regulator-name = "VDDAO_1V8"; 143 regulator-min-microvolt = <180 143 regulator-min-microvolt = <1800000>; 144 regulator-max-microvolt = <180 144 regulator-max-microvolt = <1800000>; 145 vin-supply = <&vddao_3v3>; 145 vin-supply = <&vddao_3v3>; 146 regulator-always-on; 146 regulator-always-on; 147 }; 147 }; 148 148 149 vddao_3v3: regulator-vddao-3v3 { 149 vddao_3v3: regulator-vddao-3v3 { 150 compatible = "regulator-fixed" 150 compatible = "regulator-fixed"; 151 regulator-name = "VDDAO_3V3"; 151 regulator-name = "VDDAO_3V3"; 152 regulator-min-microvolt = <330 152 regulator-min-microvolt = <3300000>; 153 regulator-max-microvolt = <330 153 regulator-max-microvolt = <3300000>; 154 vin-supply = <&main_12v>; 154 vin-supply = <&main_12v>; 155 regulator-always-on; 155 regulator-always-on; 156 }; 156 }; 157 157 158 hdmi-connector { 158 hdmi-connector { 159 compatible = "hdmi-connector"; 159 compatible = "hdmi-connector"; 160 type = "a"; 160 type = "a"; 161 161 162 port { 162 port { 163 hdmi_connector_in: end 163 hdmi_connector_in: endpoint { 164 remote-endpoin 164 remote-endpoint = <&hdmi_tx_tmds_out>; 165 }; 165 }; 166 }; 166 }; 167 }; 167 }; 168 168 169 sound { 169 sound { 170 compatible = "amlogic,axg-soun 170 compatible = "amlogic,axg-sound-card"; 171 audio-aux-devs = <&tdmout_b>; 171 audio-aux-devs = <&tdmout_b>; 172 audio-routing = "TDMOUT_B IN 0 172 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", 173 "TDMOUT_B IN 1 173 "TDMOUT_B IN 1", "FRDDR_B OUT 1", 174 "TDMOUT_B IN 2 174 "TDMOUT_B IN 2", "FRDDR_C OUT 1", 175 "TDM_B Playbac 175 "TDM_B Playback", "TDMOUT_B OUT"; 176 176 177 clocks = <&clkc CLKID_MPLL2>, 177 clocks = <&clkc CLKID_MPLL2>, 178 <&clkc CLKID_MPLL0>, 178 <&clkc CLKID_MPLL0>, 179 <&clkc CLKID_MPLL1>; 179 <&clkc CLKID_MPLL1>; 180 180 181 assigned-clocks = <&clkc CLKID 181 assigned-clocks = <&clkc CLKID_MPLL2>, 182 <&clkc CLKID 182 <&clkc CLKID_MPLL0>, 183 <&clkc CLKID 183 <&clkc CLKID_MPLL1>; 184 assigned-clock-parents = <0>, 184 assigned-clock-parents = <0>, <0>, <0>; 185 assigned-clock-rates = <294912 185 assigned-clock-rates = <294912000>, 186 <270950 186 <270950400>, 187 <393216 187 <393216000>; 188 188 189 dai-link-0 { 189 dai-link-0 { 190 sound-dai = <&frddr_a> 190 sound-dai = <&frddr_a>; 191 }; 191 }; 192 192 193 dai-link-1 { 193 dai-link-1 { 194 sound-dai = <&frddr_b> 194 sound-dai = <&frddr_b>; 195 }; 195 }; 196 196 197 dai-link-2 { 197 dai-link-2 { 198 sound-dai = <&frddr_c> 198 sound-dai = <&frddr_c>; 199 }; 199 }; 200 200 201 /* 8ch hdmi interface */ 201 /* 8ch hdmi interface */ 202 dai-link-3 { 202 dai-link-3 { 203 sound-dai = <&tdmif_b> 203 sound-dai = <&tdmif_b>; 204 dai-format = "i2s"; 204 dai-format = "i2s"; 205 dai-tdm-slot-tx-mask-0 205 dai-tdm-slot-tx-mask-0 = <1 1>; 206 dai-tdm-slot-tx-mask-1 206 dai-tdm-slot-tx-mask-1 = <1 1>; 207 dai-tdm-slot-tx-mask-2 207 dai-tdm-slot-tx-mask-2 = <1 1>; 208 dai-tdm-slot-tx-mask-3 208 dai-tdm-slot-tx-mask-3 = <1 1>; 209 mclk-fs = <256>; 209 mclk-fs = <256>; 210 210 211 codec { 211 codec { 212 sound-dai = <& 212 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>; 213 }; 213 }; 214 }; 214 }; 215 215 216 /* hdmi glue */ 216 /* hdmi glue */ 217 dai-link-4 { 217 dai-link-4 { 218 sound-dai = <&tohdmitx 218 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; 219 219 220 codec { 220 codec { 221 sound-dai = <& 221 sound-dai = <&hdmi_tx>; 222 }; 222 }; 223 }; 223 }; 224 }; 224 }; 225 }; 225 }; 226 226 227 &arb { 227 &arb { 228 status = "okay"; 228 status = "okay"; 229 }; 229 }; 230 230 231 &cec_AO { 231 &cec_AO { 232 pinctrl-0 = <&cec_ao_a_h_pins>; 232 pinctrl-0 = <&cec_ao_a_h_pins>; 233 pinctrl-names = "default"; 233 pinctrl-names = "default"; 234 status = "disabled"; 234 status = "disabled"; 235 hdmi-phandle = <&hdmi_tx>; 235 hdmi-phandle = <&hdmi_tx>; 236 }; 236 }; 237 237 238 &cecb_AO { 238 &cecb_AO { 239 pinctrl-0 = <&cec_ao_b_h_pins>; 239 pinctrl-0 = <&cec_ao_b_h_pins>; 240 pinctrl-names = "default"; 240 pinctrl-names = "default"; 241 status = "okay"; 241 status = "okay"; 242 hdmi-phandle = <&hdmi_tx>; 242 hdmi-phandle = <&hdmi_tx>; 243 }; 243 }; 244 244 245 &clkc_audio { 245 &clkc_audio { 246 status = "okay"; 246 status = "okay"; 247 }; 247 }; 248 248 249 &cpu0 { 249 &cpu0 { 250 cpu-supply = <&vddcpu>; 250 cpu-supply = <&vddcpu>; 251 operating-points-v2 = <&cpu_opp_table> 251 operating-points-v2 = <&cpu_opp_table>; 252 clocks = <&clkc CLKID_CPU_CLK>; 252 clocks = <&clkc CLKID_CPU_CLK>; 253 clock-latency = <50000>; 253 clock-latency = <50000>; 254 }; 254 }; 255 255 256 &cpu1 { 256 &cpu1 { 257 cpu-supply = <&vddcpu>; 257 cpu-supply = <&vddcpu>; 258 operating-points-v2 = <&cpu_opp_table> 258 operating-points-v2 = <&cpu_opp_table>; 259 clocks = <&clkc CLKID_CPU1_CLK>; 259 clocks = <&clkc CLKID_CPU1_CLK>; 260 clock-latency = <50000>; 260 clock-latency = <50000>; 261 }; 261 }; 262 262 263 &cpu2 { 263 &cpu2 { 264 cpu-supply = <&vddcpu>; 264 cpu-supply = <&vddcpu>; 265 operating-points-v2 = <&cpu_opp_table> 265 operating-points-v2 = <&cpu_opp_table>; 266 clocks = <&clkc CLKID_CPU2_CLK>; 266 clocks = <&clkc CLKID_CPU2_CLK>; 267 clock-latency = <50000>; 267 clock-latency = <50000>; 268 }; 268 }; 269 269 270 &cpu3 { 270 &cpu3 { 271 cpu-supply = <&vddcpu>; 271 cpu-supply = <&vddcpu>; 272 operating-points-v2 = <&cpu_opp_table> 272 operating-points-v2 = <&cpu_opp_table>; 273 clocks = <&clkc CLKID_CPU3_CLK>; 273 clocks = <&clkc CLKID_CPU3_CLK>; 274 clock-latency = <50000>; 274 clock-latency = <50000>; 275 }; 275 }; 276 276 277 &ext_mdio { 277 &ext_mdio { 278 external_phy: ethernet-phy@0 { 278 external_phy: ethernet-phy@0 { 279 /* Realtek RTL8211F (0x001cc91 279 /* Realtek RTL8211F (0x001cc916) */ 280 reg = <0>; 280 reg = <0>; 281 max-speed = <1000>; 281 max-speed = <1000>; 282 282 283 reset-assert-us = <10000>; 283 reset-assert-us = <10000>; 284 reset-deassert-us = <80000>; 284 reset-deassert-us = <80000>; 285 reset-gpios = <&gpio GPIOZ_15 285 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; 286 286 287 interrupt-parent = <&gpio_intc 287 interrupt-parent = <&gpio_intc>; 288 /* MAC_INTR on GPIOZ_14 */ 288 /* MAC_INTR on GPIOZ_14 */ 289 interrupts = <IRQID_GPIOZ_14 I 289 interrupts = <IRQID_GPIOZ_14 IRQ_TYPE_LEVEL_LOW>; 290 }; 290 }; 291 }; 291 }; 292 292 293 ðmac { 293 ðmac { 294 pinctrl-0 = <ð_pins>, <ð_rgmii_p 294 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>; 295 pinctrl-names = "default"; 295 pinctrl-names = "default"; 296 status = "okay"; 296 status = "okay"; 297 phy-mode = "rgmii"; 297 phy-mode = "rgmii"; 298 phy-handle = <&external_phy>; 298 phy-handle = <&external_phy>; 299 amlogic,tx-delay-ns = <2>; 299 amlogic,tx-delay-ns = <2>; 300 }; 300 }; 301 301 302 &frddr_a { 302 &frddr_a { 303 status = "okay"; 303 status = "okay"; 304 }; 304 }; 305 305 306 &frddr_b { 306 &frddr_b { 307 status = "okay"; 307 status = "okay"; 308 }; 308 }; 309 309 310 &frddr_c { 310 &frddr_c { 311 status = "okay"; 311 status = "okay"; 312 }; 312 }; 313 313 314 &gpio { 314 &gpio { 315 gpio-line-names = 315 gpio-line-names = 316 /* GPIOZ */ 316 /* GPIOZ */ 317 "", "", "", "", "", "", "", "" 317 "", "", "", "", "", "", "", "", 318 "", "", "", "", "", "", "", "" 318 "", "", "", "", "", "", "", "", 319 /* GPIOH */ 319 /* GPIOH */ 320 "", "", "", "", "", 320 "", "", "", "", "", 321 "PIN_36", /* GPIOH_5 */ 321 "PIN_36", /* GPIOH_5 */ 322 "PIN_26", /* GPIOH_6 */ 322 "PIN_26", /* GPIOH_6 */ 323 "PIN_32", /* GPIOH_7 */ 323 "PIN_32", /* GPIOH_7 */ 324 "", 324 "", 325 /* BOOT */ 325 /* BOOT */ 326 "", "", "", "", "", "", "", "" 326 "", "", "", "", "", "", "", "", 327 "", "", "", "", "", "", "", "" 327 "", "", "", "", "", "", "", "", 328 /* GPIOC */ 328 /* GPIOC */ 329 "", "", "", "", "", "", "", "" 329 "", "", "", "", "", "", "", "", 330 /* GPIOA */ 330 /* GPIOA */ 331 "", "", "", "", "", "", "", "" 331 "", "", "", "", "", "", "", "", 332 "", "", "", "", "", "", 332 "", "", "", "", "", "", 333 "PIN_27", /* GPIOA_14 */ 333 "PIN_27", /* GPIOA_14 */ 334 "PIN_28", /* GPIOA_15 */ 334 "PIN_28", /* GPIOA_15 */ 335 /* GPIOX */ 335 /* GPIOX */ 336 "PIN_16", /* GPIOX_0 */ 336 "PIN_16", /* GPIOX_0 */ 337 "PIN_18", /* GPIOX_1 */ 337 "PIN_18", /* GPIOX_1 */ 338 "PIN_22", /* GPIOX_2 */ 338 "PIN_22", /* GPIOX_2 */ 339 "PIN_11", /* GPIOX_3 */ 339 "PIN_11", /* GPIOX_3 */ 340 "PIN_13", /* GPIOX_4 */ 340 "PIN_13", /* GPIOX_4 */ 341 "PIN_7", /* GPIOX_5 */ 341 "PIN_7", /* GPIOX_5 */ 342 "PIN_33", /* GPIOX_6 */ 342 "PIN_33", /* GPIOX_6 */ 343 "PIN_15", /* GPIOX_7 */ 343 "PIN_15", /* GPIOX_7 */ 344 "PIN_19", /* GPIOX_8 */ 344 "PIN_19", /* GPIOX_8 */ 345 "PIN_21", /* GPIOX_9 */ 345 "PIN_21", /* GPIOX_9 */ 346 "PIN_24", /* GPIOX_10 */ 346 "PIN_24", /* GPIOX_10 */ 347 "PIN_23", /* GPIOX_11 */ 347 "PIN_23", /* GPIOX_11 */ 348 "PIN_8", /* GPIOX_12 */ 348 "PIN_8", /* GPIOX_12 */ 349 "PIN_10", /* GPIOX_13 */ 349 "PIN_10", /* GPIOX_13 */ 350 "PIN_29", /* GPIOX_14 */ 350 "PIN_29", /* GPIOX_14 */ 351 "PIN_31", /* GPIOX_15 */ 351 "PIN_31", /* GPIOX_15 */ 352 "PIN_12", /* GPIOX_16 */ 352 "PIN_12", /* GPIOX_16 */ 353 "PIN_3", /* GPIOX_17 */ 353 "PIN_3", /* GPIOX_17 */ 354 "PIN_5", /* GPIOX_18 */ 354 "PIN_5", /* GPIOX_18 */ 355 "PIN_35"; /* GPIOX_19 */ 355 "PIN_35"; /* GPIOX_19 */ 356 }; 356 }; 357 357 358 &gpio_ao { 358 &gpio_ao { 359 gpio-line-names = 359 gpio-line-names = 360 /* GPIOAO */ 360 /* GPIOAO */ 361 "", "", "", "", 361 "", "", "", "", 362 "PIN_47", /* GPIOAO_4 */ 362 "PIN_47", /* GPIOAO_4 */ 363 "", "", 363 "", "", 364 "PIN_45", /* GPIOAO_7 */ 364 "PIN_45", /* GPIOAO_7 */ 365 "PIN_46", /* GPIOAO_8 */ 365 "PIN_46", /* GPIOAO_8 */ 366 "PIN_44", /* GPIOAO_9 */ 366 "PIN_44", /* GPIOAO_9 */ 367 "PIN_42", /* GPIOAO_10 */ 367 "PIN_42", /* GPIOAO_10 */ 368 "", 368 "", 369 /* GPIOE */ 369 /* GPIOE */ 370 "", "", ""; 370 "", "", ""; 371 }; 371 }; 372 372 373 &hdmi_tx { 373 &hdmi_tx { 374 status = "okay"; 374 status = "okay"; 375 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmi 375 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; 376 pinctrl-names = "default"; 376 pinctrl-names = "default"; 377 hdmi-supply = <&vcc_5v>; 377 hdmi-supply = <&vcc_5v>; 378 }; 378 }; 379 379 380 &hdmi_tx_tmds_port { 380 &hdmi_tx_tmds_port { 381 hdmi_tx_tmds_out: endpoint { 381 hdmi_tx_tmds_out: endpoint { 382 remote-endpoint = <&hdmi_conne 382 remote-endpoint = <&hdmi_connector_in>; 383 }; 383 }; 384 }; 384 }; 385 385 386 &ir { 386 &ir { 387 status = "okay"; 387 status = "okay"; 388 pinctrl-0 = <&remote_input_ao_pins>; 388 pinctrl-0 = <&remote_input_ao_pins>; 389 pinctrl-names = "default"; 389 pinctrl-names = "default"; 390 }; 390 }; 391 391 392 &pwm_AO_cd { 392 &pwm_AO_cd { 393 pinctrl-0 = <&pwm_ao_d_e_pins>; 393 pinctrl-0 = <&pwm_ao_d_e_pins>; 394 pinctrl-names = "default"; 394 pinctrl-names = "default"; 395 clocks = <&xtal>; 395 clocks = <&xtal>; 396 clock-names = "clkin1"; 396 clock-names = "clkin1"; 397 status = "okay"; 397 status = "okay"; 398 }; 398 }; 399 399 400 &saradc { 400 &saradc { 401 status = "okay"; 401 status = "okay"; 402 }; 402 }; 403 403 404 /* SD card */ 404 /* SD card */ 405 &sd_emmc_b { 405 &sd_emmc_b { 406 status = "okay"; 406 status = "okay"; 407 pinctrl-0 = <&sdcard_c_pins>; 407 pinctrl-0 = <&sdcard_c_pins>; 408 pinctrl-1 = <&sdcard_clk_gate_c_pins>; 408 pinctrl-1 = <&sdcard_clk_gate_c_pins>; 409 pinctrl-names = "default", "clk-gate"; 409 pinctrl-names = "default", "clk-gate"; 410 410 411 bus-width = <4>; 411 bus-width = <4>; 412 cap-sd-highspeed; 412 cap-sd-highspeed; 413 max-frequency = <200000000>; 413 max-frequency = <200000000>; 414 sd-uhs-sdr12; 414 sd-uhs-sdr12; 415 sd-uhs-sdr25; 415 sd-uhs-sdr25; 416 sd-uhs-sdr50; 416 sd-uhs-sdr50; 417 sd-uhs-sdr104; 417 sd-uhs-sdr104; 418 disable-wp; 418 disable-wp; 419 419 420 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_ 420 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; 421 vmmc-supply = <&tflash_vdd>; 421 vmmc-supply = <&tflash_vdd>; 422 vqmmc-supply = <&tf_io>; 422 vqmmc-supply = <&tf_io>; 423 }; 423 }; 424 424 425 /* eMMC */ 425 /* eMMC */ 426 &sd_emmc_c { 426 &sd_emmc_c { 427 status = "okay"; 427 status = "okay"; 428 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_ 428 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>; 429 pinctrl-1 = <&emmc_clk_gate_pins>; 429 pinctrl-1 = <&emmc_clk_gate_pins>; 430 pinctrl-names = "default", "clk-gate"; 430 pinctrl-names = "default", "clk-gate"; 431 431 432 bus-width = <8>; 432 bus-width = <8>; 433 cap-mmc-highspeed; 433 cap-mmc-highspeed; 434 mmc-ddr-1_8v; 434 mmc-ddr-1_8v; 435 mmc-hs200-1_8v; 435 mmc-hs200-1_8v; 436 max-frequency = <200000000>; 436 max-frequency = <200000000>; 437 disable-wp; 437 disable-wp; 438 438 439 mmc-pwrseq = <&emmc_pwrseq>; 439 mmc-pwrseq = <&emmc_pwrseq>; 440 vmmc-supply = <&vcc_3v3>; 440 vmmc-supply = <&vcc_3v3>; 441 vqmmc-supply = <&flash_1v8>; 441 vqmmc-supply = <&flash_1v8>; 442 }; 442 }; 443 443 444 &tdmif_b { 444 &tdmif_b { 445 status = "okay"; 445 status = "okay"; 446 }; 446 }; 447 447 448 &tdmout_b { 448 &tdmout_b { 449 status = "okay"; 449 status = "okay"; 450 }; 450 }; 451 451 452 &tohdmitx { 452 &tohdmitx { 453 status = "okay"; 453 status = "okay"; 454 }; 454 }; 455 455 456 &uart_AO { 456 &uart_AO { 457 status = "okay"; 457 status = "okay"; 458 pinctrl-0 = <&uart_ao_a_pins>; 458 pinctrl-0 = <&uart_ao_a_pins>; 459 pinctrl-names = "default"; 459 pinctrl-names = "default"; 460 }; 460 }; 461 461 462 &usb { 462 &usb { 463 status = "okay"; 463 status = "okay"; 464 vbus-supply = <&usb_pwr_en>; 464 vbus-supply = <&usb_pwr_en>; 465 }; 465 }; 466 466 467 &usb2_phy0 { 467 &usb2_phy0 { 468 phy-supply = <&vcc_5v>; 468 phy-supply = <&vcc_5v>; 469 }; 469 }; 470 470
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.