Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright (c) 2019 BayLibre, SAS
0004  * Author: Neil Armstrong <narmstrong@baylibre.com>
0005  */
0006 
0007 #include <dt-bindings/input/input.h>
0008 #include <dt-bindings/gpio/meson-g12a-gpio.h>
0009 #include <dt-bindings/sound/meson-g12a-toacodec.h>
0010 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
0011 
0012 / {
0013         aliases {
0014                 serial0 = &uart_AO;
0015                 ethernet0 = &ethmac;
0016                 rtc0 = &rtc;
0017                 rtc1 = &vrtc;
0018         };
0019 
0020         dio2133: audio-amplifier-0 {
0021                 compatible = "simple-audio-amplifier";
0022                 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
0023                 VCC-supply = <&vcc_5v>;
0024                 sound-name-prefix = "U19";
0025                 status = "okay";
0026         };
0027 
0028         chosen {
0029                 stdout-path = "serial0:115200n8";
0030         };
0031 
0032         memory@0 {
0033                 device_type = "memory";
0034                 reg = <0x0 0x0 0x0 0x40000000>;
0035         };
0036 
0037         emmc_pwrseq: emmc-pwrseq {
0038                 compatible = "mmc-pwrseq-emmc";
0039                 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
0040         };
0041 
0042         leds {
0043                 compatible = "gpio-leds";
0044 
0045                 led-blue {
0046                         label = "n2:blue";
0047                         gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
0048                         linux,default-trigger = "heartbeat";
0049                 };
0050         };
0051 
0052         tflash_vdd: regulator-tflash_vdd {
0053                 compatible = "regulator-fixed";
0054 
0055                 regulator-name = "TFLASH_VDD";
0056                 regulator-min-microvolt = <3300000>;
0057                 regulator-max-microvolt = <3300000>;
0058 
0059                 gpio = <&gpio_ao GPIOAO_8 GPIO_ACTIVE_HIGH>;
0060                 enable-active-high;
0061                 regulator-always-on;
0062         };
0063 
0064         tf_io: gpio-regulator-tf_io {
0065                 compatible = "regulator-gpio";
0066 
0067                 regulator-name = "TF_IO";
0068                 regulator-min-microvolt = <1800000>;
0069                 regulator-max-microvolt = <3300000>;
0070 
0071                 gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
0072                 gpios-states = <0>;
0073 
0074                 states = <3300000 0>,
0075                          <1800000 1>;
0076         };
0077 
0078         flash_1v8: regulator-flash_1v8 {
0079                 compatible = "regulator-fixed";
0080                 regulator-name = "FLASH_1V8";
0081                 regulator-min-microvolt = <1800000>;
0082                 regulator-max-microvolt = <1800000>;
0083                 vin-supply = <&vcc_3v3>;
0084                 regulator-always-on;
0085         };
0086 
0087         main_12v: regulator-main_12v {
0088                 compatible = "regulator-fixed";
0089                 regulator-name = "12V";
0090                 regulator-min-microvolt = <12000000>;
0091                 regulator-max-microvolt = <12000000>;
0092                 regulator-always-on;
0093         };
0094 
0095         vcc_5v: regulator-vcc_5v {
0096                 compatible = "regulator-fixed";
0097                 regulator-name = "5V";
0098                 regulator-min-microvolt = <5000000>;
0099                 regulator-max-microvolt = <5000000>;
0100                 regulator-always-on;
0101                 vin-supply = <&main_12v>;
0102                 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
0103                 enable-active-high;
0104         };
0105 
0106         vcc_1v8: regulator-vcc_1v8 {
0107                 compatible = "regulator-fixed";
0108                 regulator-name = "VCC_1V8";
0109                 regulator-min-microvolt = <1800000>;
0110                 regulator-max-microvolt = <1800000>;
0111                 vin-supply = <&vcc_3v3>;
0112                 regulator-always-on;
0113         };
0114 
0115         vcc_3v3: regulator-vcc_3v3 {
0116                 compatible = "regulator-fixed";
0117                 regulator-name = "VCC_3V3";
0118                 regulator-min-microvolt = <3300000>;
0119                 regulator-max-microvolt = <3300000>;
0120                 vin-supply = <&vddao_3v3>;
0121                 regulator-always-on;
0122                 /* FIXME: actually controlled by VDDCPU_B_EN */
0123         };
0124 
0125         vddcpu_a: regulator-vddcpu-a {
0126                 /*
0127                  * MP8756GD Regulator.
0128                  */
0129                 compatible = "pwm-regulator";
0130 
0131                 regulator-name = "VDDCPU_A";
0132                 regulator-min-microvolt = <721000>;
0133                 regulator-max-microvolt = <1022000>;
0134 
0135                 pwm-supply = <&main_12v>;
0136 
0137                 pwms = <&pwm_ab 0 1250 0>;
0138                 pwm-dutycycle-range = <100 0>;
0139 
0140                 regulator-boot-on;
0141                 regulator-always-on;
0142         };
0143 
0144         vddcpu_b: regulator-vddcpu-b {
0145                 /*
0146                  * Silergy SY8120B1ABC Regulator.
0147                  */
0148                 compatible = "pwm-regulator";
0149 
0150                 regulator-name = "VDDCPU_B";
0151                 regulator-min-microvolt = <721000>;
0152                 regulator-max-microvolt = <1022000>;
0153 
0154                 pwm-supply = <&main_12v>;
0155 
0156                 pwms = <&pwm_AO_cd 1 1250 0>;
0157                 pwm-dutycycle-range = <100 0>;
0158 
0159                 regulator-boot-on;
0160                 regulator-always-on;
0161         };
0162 
0163         hub_5v: regulator-hub_5v {
0164                 compatible = "regulator-fixed";
0165                 regulator-name = "HUB_5V";
0166                 regulator-min-microvolt = <5000000>;
0167                 regulator-max-microvolt = <5000000>;
0168                 vin-supply = <&vcc_5v>;
0169 
0170                 /* Connected to the Hub CHIPENABLE, LOW sets low power state */
0171                 gpio = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
0172                 enable-active-high;
0173         };
0174 
0175         usb_pwr_en: regulator-usb_pwr_en {
0176                 compatible = "regulator-fixed";
0177                 regulator-name = "USB_PWR_EN";
0178                 regulator-min-microvolt = <5000000>;
0179                 regulator-max-microvolt = <5000000>;
0180                 vin-supply = <&vcc_5v>;
0181 
0182                 /* Connected to the microUSB port power enable */
0183                 gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
0184                 enable-active-high;
0185         };
0186 
0187         vddao_1v8: regulator-vddao_1v8 {
0188                 compatible = "regulator-fixed";
0189                 regulator-name = "VDDAO_1V8";
0190                 regulator-min-microvolt = <1800000>;
0191                 regulator-max-microvolt = <1800000>;
0192                 vin-supply = <&vddao_3v3>;
0193                 regulator-always-on;
0194         };
0195 
0196         vddao_3v3: regulator-vddao_3v3 {
0197                 compatible = "regulator-fixed";
0198                 regulator-name = "VDDAO_3V3";
0199                 regulator-min-microvolt = <3300000>;
0200                 regulator-max-microvolt = <3300000>;
0201                 vin-supply = <&main_12v>;
0202                 regulator-always-on;
0203         };
0204 
0205         hdmi-connector {
0206                 compatible = "hdmi-connector";
0207                 type = "a";
0208 
0209                 port {
0210                         hdmi_connector_in: endpoint {
0211                                 remote-endpoint = <&hdmi_tx_tmds_out>;
0212                         };
0213                 };
0214         };
0215 
0216         sound {
0217                 compatible = "amlogic,axg-sound-card";
0218                 model = "ODROID-N2";
0219                 audio-widgets = "Line", "Lineout";
0220                 audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
0221                                  <&tdmin_b>, <&tdmin_c>, <&tdmin_lb>,
0222                                  <&dio2133>;
0223                 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
0224                                 "TDMOUT_B IN 1", "FRDDR_B OUT 1",
0225                                 "TDMOUT_B IN 2", "FRDDR_C OUT 1",
0226                                 "TDM_B Playback", "TDMOUT_B OUT",
0227                                 "TDMOUT_C IN 0", "FRDDR_A OUT 2",
0228                                 "TDMOUT_C IN 1", "FRDDR_B OUT 2",
0229                                 "TDMOUT_C IN 2", "FRDDR_C OUT 2",
0230                                 "TDM_C Playback", "TDMOUT_C OUT",
0231                                 "TDMIN_A IN 4", "TDM_B Loopback",
0232                                 "TDMIN_B IN 4", "TDM_B Loopback",
0233                                 "TDMIN_C IN 4", "TDM_B Loopback",
0234                                 "TDMIN_LB IN 1", "TDM_B Loopback",
0235                                 "TDMIN_A IN 5", "TDM_C Loopback",
0236                                 "TDMIN_B IN 5", "TDM_C Loopback",
0237                                 "TDMIN_C IN 5", "TDM_C Loopback",
0238                                 "TDMIN_LB IN 2", "TDM_C Loopback",
0239                                 "TODDR_A IN 0", "TDMIN_A OUT",
0240                                 "TODDR_B IN 0", "TDMIN_A OUT",
0241                                 "TODDR_C IN 0", "TDMIN_A OUT",
0242                                 "TODDR_A IN 1", "TDMIN_B OUT",
0243                                 "TODDR_B IN 1", "TDMIN_B OUT",
0244                                 "TODDR_C IN 1", "TDMIN_B OUT",
0245                                 "TODDR_A IN 2", "TDMIN_C OUT",
0246                                 "TODDR_B IN 2", "TDMIN_C OUT",
0247                                 "TODDR_C IN 2", "TDMIN_C OUT",
0248                                 "TODDR_A IN 6", "TDMIN_LB OUT",
0249                                 "TODDR_B IN 6", "TDMIN_LB OUT",
0250                                 "TODDR_C IN 6", "TDMIN_LB OUT",
0251                                 "U19 INL", "ACODEC LOLP",
0252                                 "U19 INR", "ACODEC LORP",
0253                                 "Lineout", "U19 OUTL",
0254                                 "Lineout", "U19 OUTR";
0255 
0256                 assigned-clocks = <&clkc CLKID_MPLL2>,
0257                                   <&clkc CLKID_MPLL0>,
0258                                   <&clkc CLKID_MPLL1>;
0259                 assigned-clock-parents = <0>, <0>, <0>;
0260                 assigned-clock-rates = <294912000>,
0261                                        <270950400>,
0262                                        <393216000>;
0263                 status = "okay";
0264 
0265                 dai-link-0 {
0266                         sound-dai = <&frddr_a>;
0267                 };
0268 
0269                 dai-link-1 {
0270                         sound-dai = <&frddr_b>;
0271                 };
0272 
0273                 dai-link-2 {
0274                         sound-dai = <&frddr_c>;
0275                 };
0276 
0277                 dai-link-3 {
0278                         sound-dai = <&toddr_a>;
0279                 };
0280 
0281                 dai-link-4 {
0282                         sound-dai = <&toddr_b>;
0283                 };
0284 
0285                 dai-link-5 {
0286                         sound-dai = <&toddr_c>;
0287                 };
0288 
0289                 /* 8ch hdmi interface */
0290                 dai-link-6 {
0291                         sound-dai = <&tdmif_b>;
0292                         dai-format = "i2s";
0293                         dai-tdm-slot-tx-mask-0 = <1 1>;
0294                         dai-tdm-slot-tx-mask-1 = <1 1>;
0295                         dai-tdm-slot-tx-mask-2 = <1 1>;
0296                         dai-tdm-slot-tx-mask-3 = <1 1>;
0297                         mclk-fs = <256>;
0298 
0299                         codec-0 {
0300                                 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
0301                         };
0302 
0303                         codec-1 {
0304                                 sound-dai = <&toacodec TOACODEC_IN_B>;
0305                         };
0306                 };
0307 
0308                 /* i2s jack output interface */
0309                 dai-link-7 {
0310                         sound-dai = <&tdmif_c>;
0311                         dai-format = "i2s";
0312                         dai-tdm-slot-tx-mask-0 = <1 1>;
0313                         mclk-fs = <256>;
0314 
0315                         codec-0 {
0316                                 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
0317                         };
0318 
0319                         codec-1 {
0320                                 sound-dai = <&toacodec TOACODEC_IN_C>;
0321                         };
0322                 };
0323 
0324                 /* hdmi glue */
0325                 dai-link-8 {
0326                         sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
0327 
0328                         codec {
0329                                 sound-dai = <&hdmi_tx>;
0330                         };
0331                 };
0332 
0333                 /* acodec glue */
0334                 dai-link-9 {
0335                         sound-dai = <&toacodec TOACODEC_OUT>;
0336 
0337                         codec {
0338                                 sound-dai = <&acodec>;
0339                         };
0340                 };
0341         };
0342 };
0343 
0344 &acodec {
0345         AVDD-supply = <&vddao_1v8>;
0346         status = "okay";
0347 };
0348 
0349 &arb {
0350         status = "okay";
0351 };
0352 
0353 &cec_AO {
0354         pinctrl-0 = <&cec_ao_a_h_pins>;
0355         pinctrl-names = "default";
0356         status = "disabled";
0357         hdmi-phandle = <&hdmi_tx>;
0358 };
0359 
0360 &cecb_AO {
0361         pinctrl-0 = <&cec_ao_b_h_pins>;
0362         pinctrl-names = "default";
0363         status = "okay";
0364         hdmi-phandle = <&hdmi_tx>;
0365 };
0366 
0367 &clkc_audio {
0368         status = "okay";
0369 };
0370 
0371 &cpu0 {
0372         cpu-supply = <&vddcpu_b>;
0373         operating-points-v2 = <&cpu_opp_table_0>;
0374         clocks = <&clkc CLKID_CPU_CLK>;
0375         clock-latency = <50000>;
0376 };
0377 
0378 &cpu1 {
0379         cpu-supply = <&vddcpu_b>;
0380         operating-points-v2 = <&cpu_opp_table_0>;
0381         clocks = <&clkc CLKID_CPU_CLK>;
0382         clock-latency = <50000>;
0383 };
0384 
0385 &cpu100 {
0386         cpu-supply = <&vddcpu_a>;
0387         operating-points-v2 = <&cpub_opp_table_1>;
0388         clocks = <&clkc CLKID_CPUB_CLK>;
0389         clock-latency = <50000>;
0390 };
0391 
0392 &cpu101 {
0393         cpu-supply = <&vddcpu_a>;
0394         operating-points-v2 = <&cpub_opp_table_1>;
0395         clocks = <&clkc CLKID_CPUB_CLK>;
0396         clock-latency = <50000>;
0397 };
0398 
0399 &cpu102 {
0400         cpu-supply = <&vddcpu_a>;
0401         operating-points-v2 = <&cpub_opp_table_1>;
0402         clocks = <&clkc CLKID_CPUB_CLK>;
0403         clock-latency = <50000>;
0404 };
0405 
0406 &cpu103 {
0407         cpu-supply = <&vddcpu_a>;
0408         operating-points-v2 = <&cpub_opp_table_1>;
0409         clocks = <&clkc CLKID_CPUB_CLK>;
0410         clock-latency = <50000>;
0411 };
0412 
0413 &ext_mdio {
0414         external_phy: ethernet-phy@0 {
0415                 /* Realtek RTL8211F (0x001cc916) */
0416                 reg = <0>;
0417                 max-speed = <1000>;
0418 
0419                 reset-assert-us = <10000>;
0420                 reset-deassert-us = <80000>;
0421                 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
0422 
0423                 interrupt-parent = <&gpio_intc>;
0424                 /* MAC_INTR on GPIOZ_14 */
0425                 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
0426         };
0427 };
0428 
0429 &ethmac {
0430         pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
0431         pinctrl-names = "default";
0432         status = "okay";
0433         phy-mode = "rgmii";
0434         phy-handle = <&external_phy>;
0435         amlogic,tx-delay-ns = <2>;
0436 };
0437 
0438 &frddr_a {
0439         status = "okay";
0440 };
0441 
0442 &frddr_b {
0443         status = "okay";
0444 };
0445 
0446 &frddr_c {
0447         status = "okay";
0448 };
0449 
0450 &gpio {
0451         gpio-line-names =
0452                 /* GPIOZ */
0453                 "", "", "", "", "", "", "", "",
0454                 "", "", "", "", "", "", "", "",
0455                 /* GPIOH */
0456                 "", "", "", "", "", "", "", "",
0457                 "",
0458                 /* BOOT */
0459                 "", "", "", "", "", "", "", "",
0460                 "", "", "", "", "", "", "", "",
0461                 /* GPIOC */
0462                 "", "", "", "", "", "", "", "",
0463                 /* GPIOA */
0464                 "PIN_44", /* GPIOA_0 */
0465                 "PIN_46", /* GPIOA_1 */
0466                 "PIN_45", /* GPIOA_2 */
0467                 "PIN_47", /* GPIOA_3 */
0468                 "PIN_26", /* GPIOA_4 */
0469                 "", "", "", "", "", "",
0470                 "PIN_42", /* GPIOA_11 */
0471                 "PIN_32", /* GPIOA_12 */
0472                 "PIN_7",  /* GPIOA_13 */
0473                 "PIN_27", /* GPIOA_14 */
0474                 "PIN_28", /* GPIOA_15 */
0475                 /* GPIOX */
0476                 "PIN_16", /* GPIOX_0 */
0477                 "PIN_18", /* GPIOX_1 */
0478                 "PIN_22", /* GPIOX_2 */
0479                 "PIN_11", /* GPIOX_3 */
0480                 "PIN_13", /* GPIOX_4 */
0481                 "PIN_33", /* GPIOX_5 */
0482                 "PIN_35", /* GPIOX_6 */
0483                 "PIN_15", /* GPIOX_7 */
0484                 "PIN_19", /* GPIOX_8 */
0485                 "PIN_21", /* GPIOX_9 */
0486                 "PIN_24", /* GPIOX_10 */
0487                 "PIN_23", /* GPIOX_11 */
0488                 "PIN_8",  /* GPIOX_12 */
0489                 "PIN_10", /* GPIOX_13 */
0490                 "PIN_29", /* GPIOX_14 */
0491                 "PIN_31", /* GPIOX_15 */
0492                 "PIN_12", /* GPIOX_16 */
0493                 "PIN_3",  /* GPIOX_17 */
0494                 "PIN_5",  /* GPIOX_18 */
0495                 "PIN_36"; /* GPIOX_19 */
0496         /*
0497          * WARNING: The USB Hub on the Odroid-N2 needs a reset signal
0498          * to be turned high in order to be detected by the USB Controller
0499          * This signal should be handled by a USB specific power sequence
0500          * in order to reset the Hub when USB bus is powered down.
0501          */
0502         hog-0 {
0503                 gpio-hog;
0504                 gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>;
0505                 output-high;
0506                 line-name = "usb-hub-reset";
0507         };
0508 };
0509 
0510 &hdmi_tx {
0511         status = "okay";
0512         pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
0513         pinctrl-names = "default";
0514         hdmi-supply = <&vcc_5v>;
0515 };
0516 
0517 &hdmi_tx_tmds_port {
0518         hdmi_tx_tmds_out: endpoint {
0519                 remote-endpoint = <&hdmi_connector_in>;
0520         };
0521 };
0522 
0523 &ir {
0524         status = "okay";
0525         pinctrl-0 = <&remote_input_ao_pins>;
0526         pinctrl-names = "default";
0527         linux,rc-map-name = "rc-odroid";
0528 };
0529 
0530 &i2c3 {
0531         status = "okay";
0532         pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
0533         pinctrl-names = "default";
0534 
0535         rtc: rtc@51 {
0536                 compatible = "nxp,pcf8563";
0537                 reg = <0x51>;
0538                 wakeup-source;
0539         };
0540 };
0541 
0542 &pwm_ab {
0543         pinctrl-0 = <&pwm_a_e_pins>;
0544         pinctrl-names = "default";
0545         clocks = <&xtal>;
0546         clock-names = "clkin0";
0547         status = "okay";
0548 };
0549 
0550 &pwm_AO_cd {
0551         pinctrl-0 = <&pwm_ao_d_e_pins>;
0552         pinctrl-names = "default";
0553         clocks = <&xtal>;
0554         clock-names = "clkin1";
0555         status = "okay";
0556 };
0557 
0558 &saradc {
0559         status = "okay";
0560         vref-supply = <&vddao_1v8>;
0561 };
0562 
0563 /* SD card */
0564 &sd_emmc_b {
0565         status = "okay";
0566         pinctrl-0 = <&sdcard_c_pins>;
0567         pinctrl-1 = <&sdcard_clk_gate_c_pins>;
0568         pinctrl-names = "default", "clk-gate";
0569 
0570         bus-width = <4>;
0571         cap-sd-highspeed;
0572         max-frequency = <50000000>;
0573         disable-wp;
0574 
0575         cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
0576         vmmc-supply = <&tflash_vdd>;
0577         vqmmc-supply = <&tf_io>;
0578 
0579 };
0580 
0581 /* eMMC */
0582 &sd_emmc_c {
0583         status = "okay";
0584         pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
0585         pinctrl-1 = <&emmc_clk_gate_pins>;
0586         pinctrl-names = "default", "clk-gate";
0587 
0588         bus-width = <8>;
0589         cap-mmc-highspeed;
0590         mmc-ddr-1_8v;
0591         mmc-hs200-1_8v;
0592         max-frequency = <200000000>;
0593         disable-wp;
0594 
0595         mmc-pwrseq = <&emmc_pwrseq>;
0596         vmmc-supply = <&vcc_3v3>;
0597         vqmmc-supply = <&flash_1v8>;
0598 };
0599 
0600 /*
0601  * EMMC_D4, EMMC_D5, EMMC_D6 and EMMC_D7 pins are shared between SPI NOR pins
0602  * and eMMC Data 4 to 7 pins.
0603  * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
0604  * and change bus-width to 4 then spifc can be enabled.
0605  * The SW1 slide should also be set to the correct position.
0606  */
0607 &spifc {
0608         status = "disabled";
0609         pinctrl-0 = <&nor_pins>;
0610         pinctrl-names = "default";
0611 
0612         mx25u64: flash@0 {
0613                 #address-cells = <1>;
0614                 #size-cells = <1>;
0615                 compatible = "mxicy,mx25u6435f", "jedec,spi-nor";
0616                 reg = <0>;
0617                 spi-max-frequency = <104000000>;
0618         };
0619 };
0620 
0621 &tdmif_b {
0622         status = "okay";
0623 };
0624 
0625 &tdmif_c {
0626         status = "okay";
0627 };
0628 
0629 &tdmin_a {
0630         status = "okay";
0631 };
0632 
0633 &tdmin_b {
0634         status = "okay";
0635 };
0636 
0637 &tdmin_c {
0638         status = "okay";
0639 };
0640 
0641 &tdmin_lb {
0642         status = "okay";
0643 };
0644 
0645 &tdmout_b {
0646         status = "okay";
0647 };
0648 
0649 &tdmout_c {
0650         status = "okay";
0651 };
0652 
0653 &toacodec {
0654         status = "okay";
0655 };
0656 
0657 &tohdmitx {
0658         status = "okay";
0659 };
0660 
0661 &toddr_a {
0662         status = "okay";
0663 };
0664 
0665 &toddr_b {
0666         status = "okay";
0667 };
0668 
0669 &toddr_c {
0670         status = "okay";
0671 };
0672 
0673 &uart_AO {
0674         status = "okay";
0675         pinctrl-0 = <&uart_ao_a_pins>;
0676         pinctrl-names = "default";
0677 };
0678 
0679 &usb {
0680         status = "okay";
0681         vbus-supply = <&usb_pwr_en>;
0682 };
0683 
0684 &usb2_phy0 {
0685         phy-supply = <&vcc_5v>;
0686 };
0687 
0688 &usb2_phy1 {
0689         /* Enable the hub which is connected to this port */
0690         phy-supply = <&hub_5v>;
0691 };