154baba33SEmil Renner Berthing// SPDX-License-Identifier: GPL-2.0 OR MIT 254baba33SEmil Renner Berthing/* 354baba33SEmil Renner Berthing * Copyright (C) 2022 StarFive Technology Co., Ltd. 454baba33SEmil Renner Berthing * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk> 554baba33SEmil Renner Berthing */ 654baba33SEmil Renner Berthing 754baba33SEmil Renner Berthing/dts-v1/; 854baba33SEmil Renner Berthing#include "jh7110.dtsi" 954baba33SEmil Renner Berthing#include "jh7110-pinfunc.h" 1054baba33SEmil Renner Berthing#include <dt-bindings/gpio/gpio.h> 1154baba33SEmil Renner Berthing 1254baba33SEmil Renner Berthing/ { 1354baba33SEmil Renner Berthing aliases { 140104340aSSamin Guo ethernet0 = &gmac0; 150104340aSSamin Guo ethernet1 = &gmac1; 1654baba33SEmil Renner Berthing i2c0 = &i2c0; 1754baba33SEmil Renner Berthing i2c2 = &i2c2; 1854baba33SEmil Renner Berthing i2c5 = &i2c5; 1954baba33SEmil Renner Berthing i2c6 = &i2c6; 20*b127dbf9SWilliam Qiu mmc0 = &mmc0; 21*b127dbf9SWilliam Qiu mmc1 = &mmc1; 2254baba33SEmil Renner Berthing serial0 = &uart0; 2354baba33SEmil Renner Berthing }; 2454baba33SEmil Renner Berthing 2554baba33SEmil Renner Berthing chosen { 2654baba33SEmil Renner Berthing stdout-path = "serial0:115200n8"; 2754baba33SEmil Renner Berthing }; 2854baba33SEmil Renner Berthing 2954baba33SEmil Renner Berthing cpus { 3054baba33SEmil Renner Berthing timebase-frequency = <4000000>; 3154baba33SEmil Renner Berthing }; 3254baba33SEmil Renner Berthing 3354baba33SEmil Renner Berthing memory@40000000 { 3454baba33SEmil Renner Berthing device_type = "memory"; 3554baba33SEmil Renner Berthing reg = <0x0 0x40000000 0x1 0x0>; 3654baba33SEmil Renner Berthing }; 3754baba33SEmil Renner Berthing 3854baba33SEmil Renner Berthing gpio-restart { 3954baba33SEmil Renner Berthing compatible = "gpio-restart"; 4054baba33SEmil Renner Berthing gpios = <&sysgpio 35 GPIO_ACTIVE_HIGH>; 4154baba33SEmil Renner Berthing priority = <224>; 4254baba33SEmil Renner Berthing }; 4354baba33SEmil Renner Berthing}; 4454baba33SEmil Renner Berthing 4543f09605SXingyu Wu&dvp_clk { 4643f09605SXingyu Wu clock-frequency = <74250000>; 4743f09605SXingyu Wu}; 4843f09605SXingyu Wu 4954baba33SEmil Renner Berthing&gmac0_rgmii_rxin { 5054baba33SEmil Renner Berthing clock-frequency = <125000000>; 5154baba33SEmil Renner Berthing}; 5254baba33SEmil Renner Berthing 5354baba33SEmil Renner Berthing&gmac0_rmii_refin { 5454baba33SEmil Renner Berthing clock-frequency = <50000000>; 5554baba33SEmil Renner Berthing}; 5654baba33SEmil Renner Berthing 5754baba33SEmil Renner Berthing&gmac1_rgmii_rxin { 5854baba33SEmil Renner Berthing clock-frequency = <125000000>; 5954baba33SEmil Renner Berthing}; 6054baba33SEmil Renner Berthing 6154baba33SEmil Renner Berthing&gmac1_rmii_refin { 6254baba33SEmil Renner Berthing clock-frequency = <50000000>; 6354baba33SEmil Renner Berthing}; 6454baba33SEmil Renner Berthing 6543f09605SXingyu Wu&hdmitx0_pixelclk { 6643f09605SXingyu Wu clock-frequency = <297000000>; 6743f09605SXingyu Wu}; 6843f09605SXingyu Wu 6954baba33SEmil Renner Berthing&i2srx_bclk_ext { 7054baba33SEmil Renner Berthing clock-frequency = <12288000>; 7154baba33SEmil Renner Berthing}; 7254baba33SEmil Renner Berthing 7354baba33SEmil Renner Berthing&i2srx_lrck_ext { 7454baba33SEmil Renner Berthing clock-frequency = <192000>; 7554baba33SEmil Renner Berthing}; 7654baba33SEmil Renner Berthing 7754baba33SEmil Renner Berthing&i2stx_bclk_ext { 7854baba33SEmil Renner Berthing clock-frequency = <12288000>; 7954baba33SEmil Renner Berthing}; 8054baba33SEmil Renner Berthing 8154baba33SEmil Renner Berthing&i2stx_lrck_ext { 8254baba33SEmil Renner Berthing clock-frequency = <192000>; 8354baba33SEmil Renner Berthing}; 8454baba33SEmil Renner Berthing 8554baba33SEmil Renner Berthing&mclk_ext { 8654baba33SEmil Renner Berthing clock-frequency = <12288000>; 8754baba33SEmil Renner Berthing}; 8854baba33SEmil Renner Berthing 8954baba33SEmil Renner Berthing&osc { 9054baba33SEmil Renner Berthing clock-frequency = <24000000>; 9154baba33SEmil Renner Berthing}; 9254baba33SEmil Renner Berthing 9354baba33SEmil Renner Berthing&rtc_osc { 9454baba33SEmil Renner Berthing clock-frequency = <32768>; 9554baba33SEmil Renner Berthing}; 9654baba33SEmil Renner Berthing 9754baba33SEmil Renner Berthing&tdm_ext { 9854baba33SEmil Renner Berthing clock-frequency = <49152000>; 9954baba33SEmil Renner Berthing}; 10054baba33SEmil Renner Berthing 1010104340aSSamin Guo&gmac0 { 1020104340aSSamin Guo phy-handle = <&phy0>; 1030104340aSSamin Guo phy-mode = "rgmii-id"; 1040104340aSSamin Guo status = "okay"; 1050104340aSSamin Guo 1060104340aSSamin Guo mdio { 1070104340aSSamin Guo #address-cells = <1>; 1080104340aSSamin Guo #size-cells = <0>; 1090104340aSSamin Guo compatible = "snps,dwmac-mdio"; 1100104340aSSamin Guo 1110104340aSSamin Guo phy0: ethernet-phy@0 { 1120104340aSSamin Guo reg = <0>; 1130104340aSSamin Guo }; 1140104340aSSamin Guo }; 1150104340aSSamin Guo}; 1160104340aSSamin Guo 1170104340aSSamin Guo&gmac1 { 1180104340aSSamin Guo phy-handle = <&phy1>; 1190104340aSSamin Guo phy-mode = "rgmii-id"; 1200104340aSSamin Guo status = "okay"; 1210104340aSSamin Guo 1220104340aSSamin Guo mdio { 1230104340aSSamin Guo #address-cells = <1>; 1240104340aSSamin Guo #size-cells = <0>; 1250104340aSSamin Guo compatible = "snps,dwmac-mdio"; 1260104340aSSamin Guo 1270104340aSSamin Guo phy1: ethernet-phy@1 { 1280104340aSSamin Guo reg = <0>; 1290104340aSSamin Guo }; 1300104340aSSamin Guo }; 1310104340aSSamin Guo}; 1320104340aSSamin Guo 13354baba33SEmil Renner Berthing&i2c0 { 13454baba33SEmil Renner Berthing clock-frequency = <100000>; 13554baba33SEmil Renner Berthing i2c-sda-hold-time-ns = <300>; 13654baba33SEmil Renner Berthing i2c-sda-falling-time-ns = <510>; 13754baba33SEmil Renner Berthing i2c-scl-falling-time-ns = <510>; 13854baba33SEmil Renner Berthing pinctrl-names = "default"; 13954baba33SEmil Renner Berthing pinctrl-0 = <&i2c0_pins>; 14054baba33SEmil Renner Berthing status = "okay"; 14154baba33SEmil Renner Berthing}; 14254baba33SEmil Renner Berthing 14354baba33SEmil Renner Berthing&i2c2 { 14454baba33SEmil Renner Berthing clock-frequency = <100000>; 14554baba33SEmil Renner Berthing i2c-sda-hold-time-ns = <300>; 14654baba33SEmil Renner Berthing i2c-sda-falling-time-ns = <510>; 14754baba33SEmil Renner Berthing i2c-scl-falling-time-ns = <510>; 14854baba33SEmil Renner Berthing pinctrl-names = "default"; 14954baba33SEmil Renner Berthing pinctrl-0 = <&i2c2_pins>; 15054baba33SEmil Renner Berthing status = "okay"; 15154baba33SEmil Renner Berthing}; 15254baba33SEmil Renner Berthing 15354baba33SEmil Renner Berthing&i2c5 { 15454baba33SEmil Renner Berthing clock-frequency = <100000>; 15554baba33SEmil Renner Berthing i2c-sda-hold-time-ns = <300>; 15654baba33SEmil Renner Berthing i2c-sda-falling-time-ns = <510>; 15754baba33SEmil Renner Berthing i2c-scl-falling-time-ns = <510>; 15854baba33SEmil Renner Berthing pinctrl-names = "default"; 15954baba33SEmil Renner Berthing pinctrl-0 = <&i2c5_pins>; 16054baba33SEmil Renner Berthing status = "okay"; 16123783415SMason Huo 16223783415SMason Huo axp15060: pmic@36 { 16323783415SMason Huo compatible = "x-powers,axp15060"; 16423783415SMason Huo reg = <0x36>; 16523783415SMason Huo interrupts = <0>; 16623783415SMason Huo interrupt-controller; 16723783415SMason Huo #interrupt-cells = <1>; 16823783415SMason Huo 16923783415SMason Huo regulators { 1707dafcfa7SWilliam Qiu vcc_3v3: dcdc1 { 1717dafcfa7SWilliam Qiu regulator-boot-on; 1727dafcfa7SWilliam Qiu regulator-always-on; 1737dafcfa7SWilliam Qiu regulator-min-microvolt = <3300000>; 1747dafcfa7SWilliam Qiu regulator-max-microvolt = <3300000>; 1757dafcfa7SWilliam Qiu regulator-name = "vcc_3v3"; 1767dafcfa7SWilliam Qiu }; 1777dafcfa7SWilliam Qiu 17823783415SMason Huo vdd_cpu: dcdc2 { 17923783415SMason Huo regulator-always-on; 18023783415SMason Huo regulator-min-microvolt = <500000>; 18123783415SMason Huo regulator-max-microvolt = <1540000>; 18223783415SMason Huo regulator-name = "vdd-cpu"; 18323783415SMason Huo }; 1847dafcfa7SWilliam Qiu 1857dafcfa7SWilliam Qiu emmc_vdd: aldo4 { 1867dafcfa7SWilliam Qiu regulator-boot-on; 1877dafcfa7SWilliam Qiu regulator-always-on; 1887dafcfa7SWilliam Qiu regulator-min-microvolt = <1800000>; 1897dafcfa7SWilliam Qiu regulator-max-microvolt = <1800000>; 1907dafcfa7SWilliam Qiu regulator-name = "emmc_vdd"; 1917dafcfa7SWilliam Qiu }; 19223783415SMason Huo }; 19323783415SMason Huo }; 19454baba33SEmil Renner Berthing}; 19554baba33SEmil Renner Berthing 19654baba33SEmil Renner Berthing&i2c6 { 19754baba33SEmil Renner Berthing clock-frequency = <100000>; 19854baba33SEmil Renner Berthing i2c-sda-hold-time-ns = <300>; 19954baba33SEmil Renner Berthing i2c-sda-falling-time-ns = <510>; 20054baba33SEmil Renner Berthing i2c-scl-falling-time-ns = <510>; 20154baba33SEmil Renner Berthing pinctrl-names = "default"; 20254baba33SEmil Renner Berthing pinctrl-0 = <&i2c6_pins>; 20354baba33SEmil Renner Berthing status = "okay"; 20454baba33SEmil Renner Berthing}; 20554baba33SEmil Renner Berthing 206*b127dbf9SWilliam Qiu&mmc0 { 207*b127dbf9SWilliam Qiu max-frequency = <100000000>; 208*b127dbf9SWilliam Qiu bus-width = <8>; 209*b127dbf9SWilliam Qiu cap-mmc-highspeed; 210*b127dbf9SWilliam Qiu mmc-ddr-1_8v; 211*b127dbf9SWilliam Qiu mmc-hs200-1_8v; 212*b127dbf9SWilliam Qiu non-removable; 213*b127dbf9SWilliam Qiu cap-mmc-hw-reset; 214*b127dbf9SWilliam Qiu post-power-on-delay-ms = <200>; 215*b127dbf9SWilliam Qiu pinctrl-names = "default"; 216*b127dbf9SWilliam Qiu pinctrl-0 = <&mmc0_pins>; 217*b127dbf9SWilliam Qiu vmmc-supply = <&vcc_3v3>; 218*b127dbf9SWilliam Qiu vqmmc-supply = <&emmc_vdd>; 219*b127dbf9SWilliam Qiu status = "okay"; 220*b127dbf9SWilliam Qiu}; 221*b127dbf9SWilliam Qiu 222*b127dbf9SWilliam Qiu&mmc1 { 223*b127dbf9SWilliam Qiu max-frequency = <100000000>; 224*b127dbf9SWilliam Qiu bus-width = <4>; 225*b127dbf9SWilliam Qiu no-sdio; 226*b127dbf9SWilliam Qiu no-mmc; 227*b127dbf9SWilliam Qiu broken-cd; 228*b127dbf9SWilliam Qiu cap-sd-highspeed; 229*b127dbf9SWilliam Qiu post-power-on-delay-ms = <200>; 230*b127dbf9SWilliam Qiu pinctrl-names = "default"; 231*b127dbf9SWilliam Qiu pinctrl-0 = <&mmc1_pins>; 232*b127dbf9SWilliam Qiu status = "okay"; 233*b127dbf9SWilliam Qiu}; 234*b127dbf9SWilliam Qiu 2358384087aSWilliam Qiu&qspi { 2368384087aSWilliam Qiu #address-cells = <1>; 2378384087aSWilliam Qiu #size-cells = <0>; 2388384087aSWilliam Qiu status = "okay"; 2398384087aSWilliam Qiu 2408384087aSWilliam Qiu nor_flash: flash@0 { 2418384087aSWilliam Qiu compatible = "jedec,spi-nor"; 2428384087aSWilliam Qiu reg = <0>; 2438384087aSWilliam Qiu cdns,read-delay = <5>; 2448384087aSWilliam Qiu spi-max-frequency = <12000000>; 2458384087aSWilliam Qiu cdns,tshsl-ns = <1>; 2468384087aSWilliam Qiu cdns,tsd2d-ns = <1>; 2478384087aSWilliam Qiu cdns,tchsh-ns = <1>; 2488384087aSWilliam Qiu cdns,tslch-ns = <1>; 2498384087aSWilliam Qiu 2508384087aSWilliam Qiu partitions { 2518384087aSWilliam Qiu compatible = "fixed-partitions"; 2528384087aSWilliam Qiu #address-cells = <1>; 2538384087aSWilliam Qiu #size-cells = <1>; 2548384087aSWilliam Qiu 2558384087aSWilliam Qiu spl@0 { 2568384087aSWilliam Qiu reg = <0x0 0x80000>; 2578384087aSWilliam Qiu }; 2588384087aSWilliam Qiu uboot-env@f0000 { 2598384087aSWilliam Qiu reg = <0xf0000 0x10000>; 2608384087aSWilliam Qiu }; 2618384087aSWilliam Qiu uboot@100000 { 2628384087aSWilliam Qiu reg = <0x100000 0x400000>; 2638384087aSWilliam Qiu }; 2648384087aSWilliam Qiu reserved-data@600000 { 2658384087aSWilliam Qiu reg = <0x600000 0x1000000>; 2668384087aSWilliam Qiu }; 2678384087aSWilliam Qiu }; 2688384087aSWilliam Qiu }; 2698384087aSWilliam Qiu}; 2708384087aSWilliam Qiu 27174fb20c8SWilliam Qiu&spi0 { 27274fb20c8SWilliam Qiu pinctrl-names = "default"; 27374fb20c8SWilliam Qiu pinctrl-0 = <&spi0_pins>; 27474fb20c8SWilliam Qiu status = "okay"; 27574fb20c8SWilliam Qiu 27674fb20c8SWilliam Qiu spi_dev0: spi@0 { 27774fb20c8SWilliam Qiu compatible = "rohm,dh2228fv"; 27874fb20c8SWilliam Qiu reg = <0>; 27974fb20c8SWilliam Qiu spi-max-frequency = <10000000>; 28074fb20c8SWilliam Qiu }; 28174fb20c8SWilliam Qiu}; 28274fb20c8SWilliam Qiu 28354baba33SEmil Renner Berthing&sysgpio { 28454baba33SEmil Renner Berthing i2c0_pins: i2c0-0 { 28554baba33SEmil Renner Berthing i2c-pins { 28654baba33SEmil Renner Berthing pinmux = <GPIOMUX(57, GPOUT_LOW, 28754baba33SEmil Renner Berthing GPOEN_SYS_I2C0_CLK, 28854baba33SEmil Renner Berthing GPI_SYS_I2C0_CLK)>, 28954baba33SEmil Renner Berthing <GPIOMUX(58, GPOUT_LOW, 29054baba33SEmil Renner Berthing GPOEN_SYS_I2C0_DATA, 29154baba33SEmil Renner Berthing GPI_SYS_I2C0_DATA)>; 29254baba33SEmil Renner Berthing bias-disable; /* external pull-up */ 29354baba33SEmil Renner Berthing input-enable; 29454baba33SEmil Renner Berthing input-schmitt-enable; 29554baba33SEmil Renner Berthing }; 29654baba33SEmil Renner Berthing }; 29754baba33SEmil Renner Berthing 29854baba33SEmil Renner Berthing i2c2_pins: i2c2-0 { 29954baba33SEmil Renner Berthing i2c-pins { 30054baba33SEmil Renner Berthing pinmux = <GPIOMUX(3, GPOUT_LOW, 30154baba33SEmil Renner Berthing GPOEN_SYS_I2C2_CLK, 30254baba33SEmil Renner Berthing GPI_SYS_I2C2_CLK)>, 30354baba33SEmil Renner Berthing <GPIOMUX(2, GPOUT_LOW, 30454baba33SEmil Renner Berthing GPOEN_SYS_I2C2_DATA, 30554baba33SEmil Renner Berthing GPI_SYS_I2C2_DATA)>; 30654baba33SEmil Renner Berthing bias-disable; /* external pull-up */ 30754baba33SEmil Renner Berthing input-enable; 30854baba33SEmil Renner Berthing input-schmitt-enable; 30954baba33SEmil Renner Berthing }; 31054baba33SEmil Renner Berthing }; 31154baba33SEmil Renner Berthing 31254baba33SEmil Renner Berthing i2c5_pins: i2c5-0 { 31354baba33SEmil Renner Berthing i2c-pins { 31454baba33SEmil Renner Berthing pinmux = <GPIOMUX(19, GPOUT_LOW, 31554baba33SEmil Renner Berthing GPOEN_SYS_I2C5_CLK, 31654baba33SEmil Renner Berthing GPI_SYS_I2C5_CLK)>, 31754baba33SEmil Renner Berthing <GPIOMUX(20, GPOUT_LOW, 31854baba33SEmil Renner Berthing GPOEN_SYS_I2C5_DATA, 31954baba33SEmil Renner Berthing GPI_SYS_I2C5_DATA)>; 32054baba33SEmil Renner Berthing bias-disable; /* external pull-up */ 32154baba33SEmil Renner Berthing input-enable; 32254baba33SEmil Renner Berthing input-schmitt-enable; 32354baba33SEmil Renner Berthing }; 32454baba33SEmil Renner Berthing }; 32554baba33SEmil Renner Berthing 32654baba33SEmil Renner Berthing i2c6_pins: i2c6-0 { 32754baba33SEmil Renner Berthing i2c-pins { 32854baba33SEmil Renner Berthing pinmux = <GPIOMUX(16, GPOUT_LOW, 32954baba33SEmil Renner Berthing GPOEN_SYS_I2C6_CLK, 33054baba33SEmil Renner Berthing GPI_SYS_I2C6_CLK)>, 33154baba33SEmil Renner Berthing <GPIOMUX(17, GPOUT_LOW, 33254baba33SEmil Renner Berthing GPOEN_SYS_I2C6_DATA, 33354baba33SEmil Renner Berthing GPI_SYS_I2C6_DATA)>; 33454baba33SEmil Renner Berthing bias-disable; /* external pull-up */ 33554baba33SEmil Renner Berthing input-enable; 33654baba33SEmil Renner Berthing input-schmitt-enable; 33754baba33SEmil Renner Berthing }; 33854baba33SEmil Renner Berthing }; 33954baba33SEmil Renner Berthing 340*b127dbf9SWilliam Qiu mmc0_pins: mmc0-0 { 341*b127dbf9SWilliam Qiu rst-pins { 342*b127dbf9SWilliam Qiu pinmux = <GPIOMUX(62, GPOUT_SYS_SDIO0_RST, 343*b127dbf9SWilliam Qiu GPOEN_ENABLE, 344*b127dbf9SWilliam Qiu GPI_NONE)>; 345*b127dbf9SWilliam Qiu bias-pull-up; 346*b127dbf9SWilliam Qiu drive-strength = <12>; 347*b127dbf9SWilliam Qiu input-disable; 348*b127dbf9SWilliam Qiu input-schmitt-disable; 349*b127dbf9SWilliam Qiu slew-rate = <0>; 350*b127dbf9SWilliam Qiu }; 351*b127dbf9SWilliam Qiu 352*b127dbf9SWilliam Qiu mmc-pins { 353*b127dbf9SWilliam Qiu pinmux = <PINMUX(64, 0)>, 354*b127dbf9SWilliam Qiu <PINMUX(65, 0)>, 355*b127dbf9SWilliam Qiu <PINMUX(66, 0)>, 356*b127dbf9SWilliam Qiu <PINMUX(67, 0)>, 357*b127dbf9SWilliam Qiu <PINMUX(68, 0)>, 358*b127dbf9SWilliam Qiu <PINMUX(69, 0)>, 359*b127dbf9SWilliam Qiu <PINMUX(70, 0)>, 360*b127dbf9SWilliam Qiu <PINMUX(71, 0)>, 361*b127dbf9SWilliam Qiu <PINMUX(72, 0)>, 362*b127dbf9SWilliam Qiu <PINMUX(73, 0)>; 363*b127dbf9SWilliam Qiu bias-pull-up; 364*b127dbf9SWilliam Qiu drive-strength = <12>; 365*b127dbf9SWilliam Qiu input-enable; 366*b127dbf9SWilliam Qiu }; 367*b127dbf9SWilliam Qiu }; 368*b127dbf9SWilliam Qiu 369*b127dbf9SWilliam Qiu mmc1_pins: mmc1-0 { 370*b127dbf9SWilliam Qiu clk-pins { 371*b127dbf9SWilliam Qiu pinmux = <GPIOMUX(10, GPOUT_SYS_SDIO1_CLK, 372*b127dbf9SWilliam Qiu GPOEN_ENABLE, 373*b127dbf9SWilliam Qiu GPI_NONE)>; 374*b127dbf9SWilliam Qiu bias-pull-up; 375*b127dbf9SWilliam Qiu drive-strength = <12>; 376*b127dbf9SWilliam Qiu input-disable; 377*b127dbf9SWilliam Qiu input-schmitt-disable; 378*b127dbf9SWilliam Qiu slew-rate = <0>; 379*b127dbf9SWilliam Qiu }; 380*b127dbf9SWilliam Qiu 381*b127dbf9SWilliam Qiu mmc-pins { 382*b127dbf9SWilliam Qiu pinmux = <GPIOMUX(9, GPOUT_SYS_SDIO1_CMD, 383*b127dbf9SWilliam Qiu GPOEN_SYS_SDIO1_CMD, 384*b127dbf9SWilliam Qiu GPI_SYS_SDIO1_CMD)>, 385*b127dbf9SWilliam Qiu <GPIOMUX(11, GPOUT_SYS_SDIO1_DATA0, 386*b127dbf9SWilliam Qiu GPOEN_SYS_SDIO1_DATA0, 387*b127dbf9SWilliam Qiu GPI_SYS_SDIO1_DATA0)>, 388*b127dbf9SWilliam Qiu <GPIOMUX(12, GPOUT_SYS_SDIO1_DATA1, 389*b127dbf9SWilliam Qiu GPOEN_SYS_SDIO1_DATA1, 390*b127dbf9SWilliam Qiu GPI_SYS_SDIO1_DATA1)>, 391*b127dbf9SWilliam Qiu <GPIOMUX(7, GPOUT_SYS_SDIO1_DATA2, 392*b127dbf9SWilliam Qiu GPOEN_SYS_SDIO1_DATA2, 393*b127dbf9SWilliam Qiu GPI_SYS_SDIO1_DATA2)>, 394*b127dbf9SWilliam Qiu <GPIOMUX(8, GPOUT_SYS_SDIO1_DATA3, 395*b127dbf9SWilliam Qiu GPOEN_SYS_SDIO1_DATA3, 396*b127dbf9SWilliam Qiu GPI_SYS_SDIO1_DATA3)>; 397*b127dbf9SWilliam Qiu bias-pull-up; 398*b127dbf9SWilliam Qiu drive-strength = <12>; 399*b127dbf9SWilliam Qiu input-enable; 400*b127dbf9SWilliam Qiu input-schmitt-enable; 401*b127dbf9SWilliam Qiu slew-rate = <0>; 402*b127dbf9SWilliam Qiu }; 403*b127dbf9SWilliam Qiu }; 404*b127dbf9SWilliam Qiu 40574fb20c8SWilliam Qiu spi0_pins: spi0-0 { 40674fb20c8SWilliam Qiu mosi-pins { 40774fb20c8SWilliam Qiu pinmux = <GPIOMUX(52, GPOUT_SYS_SPI0_TXD, 40874fb20c8SWilliam Qiu GPOEN_ENABLE, 40974fb20c8SWilliam Qiu GPI_NONE)>; 41074fb20c8SWilliam Qiu bias-disable; 41174fb20c8SWilliam Qiu input-disable; 41274fb20c8SWilliam Qiu input-schmitt-disable; 41374fb20c8SWilliam Qiu }; 41474fb20c8SWilliam Qiu 41574fb20c8SWilliam Qiu miso-pins { 41674fb20c8SWilliam Qiu pinmux = <GPIOMUX(53, GPOUT_LOW, 41774fb20c8SWilliam Qiu GPOEN_DISABLE, 41874fb20c8SWilliam Qiu GPI_SYS_SPI0_RXD)>; 41974fb20c8SWilliam Qiu bias-pull-up; 42074fb20c8SWilliam Qiu input-enable; 42174fb20c8SWilliam Qiu input-schmitt-enable; 42274fb20c8SWilliam Qiu }; 42374fb20c8SWilliam Qiu 42474fb20c8SWilliam Qiu sck-pins { 42574fb20c8SWilliam Qiu pinmux = <GPIOMUX(48, GPOUT_SYS_SPI0_CLK, 42674fb20c8SWilliam Qiu GPOEN_ENABLE, 42774fb20c8SWilliam Qiu GPI_SYS_SPI0_CLK)>; 42874fb20c8SWilliam Qiu bias-disable; 42974fb20c8SWilliam Qiu input-disable; 43074fb20c8SWilliam Qiu input-schmitt-disable; 43174fb20c8SWilliam Qiu }; 43274fb20c8SWilliam Qiu 43374fb20c8SWilliam Qiu ss-pins { 43474fb20c8SWilliam Qiu pinmux = <GPIOMUX(48, GPOUT_SYS_SPI0_FSS, 43574fb20c8SWilliam Qiu GPOEN_ENABLE, 43674fb20c8SWilliam Qiu GPI_SYS_SPI0_FSS)>; 43774fb20c8SWilliam Qiu bias-disable; 43874fb20c8SWilliam Qiu input-disable; 43974fb20c8SWilliam Qiu input-schmitt-disable; 44074fb20c8SWilliam Qiu }; 44174fb20c8SWilliam Qiu }; 44274fb20c8SWilliam Qiu 44354baba33SEmil Renner Berthing uart0_pins: uart0-0 { 44454baba33SEmil Renner Berthing tx-pins { 44554baba33SEmil Renner Berthing pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, 44654baba33SEmil Renner Berthing GPOEN_ENABLE, 44754baba33SEmil Renner Berthing GPI_NONE)>; 44854baba33SEmil Renner Berthing bias-disable; 44954baba33SEmil Renner Berthing drive-strength = <12>; 45054baba33SEmil Renner Berthing input-disable; 45154baba33SEmil Renner Berthing input-schmitt-disable; 45254baba33SEmil Renner Berthing slew-rate = <0>; 45354baba33SEmil Renner Berthing }; 45454baba33SEmil Renner Berthing 45554baba33SEmil Renner Berthing rx-pins { 45654baba33SEmil Renner Berthing pinmux = <GPIOMUX(6, GPOUT_LOW, 45754baba33SEmil Renner Berthing GPOEN_DISABLE, 45854baba33SEmil Renner Berthing GPI_SYS_UART0_RX)>; 45954baba33SEmil Renner Berthing bias-disable; /* external pull-up */ 46054baba33SEmil Renner Berthing drive-strength = <2>; 46154baba33SEmil Renner Berthing input-enable; 46254baba33SEmil Renner Berthing input-schmitt-enable; 46354baba33SEmil Renner Berthing slew-rate = <0>; 46454baba33SEmil Renner Berthing }; 46554baba33SEmil Renner Berthing }; 466e7c304c0SWalker Chen 467e7c304c0SWalker Chen tdm_pins: tdm-0 { 468e7c304c0SWalker Chen tx-pins { 469e7c304c0SWalker Chen pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD, 470e7c304c0SWalker Chen GPOEN_ENABLE, 471e7c304c0SWalker Chen GPI_NONE)>; 472e7c304c0SWalker Chen bias-pull-up; 473e7c304c0SWalker Chen drive-strength = <2>; 474e7c304c0SWalker Chen input-disable; 475e7c304c0SWalker Chen input-schmitt-disable; 476e7c304c0SWalker Chen slew-rate = <0>; 477e7c304c0SWalker Chen }; 478e7c304c0SWalker Chen 479e7c304c0SWalker Chen rx-pins { 480e7c304c0SWalker Chen pinmux = <GPIOMUX(61, GPOUT_HIGH, 481e7c304c0SWalker Chen GPOEN_DISABLE, 482e7c304c0SWalker Chen GPI_SYS_TDM_RXD)>; 483e7c304c0SWalker Chen input-enable; 484e7c304c0SWalker Chen }; 485e7c304c0SWalker Chen 486e7c304c0SWalker Chen sync-pins { 487e7c304c0SWalker Chen pinmux = <GPIOMUX(63, GPOUT_HIGH, 488e7c304c0SWalker Chen GPOEN_DISABLE, 489e7c304c0SWalker Chen GPI_SYS_TDM_SYNC)>; 490e7c304c0SWalker Chen input-enable; 491e7c304c0SWalker Chen }; 492e7c304c0SWalker Chen 493e7c304c0SWalker Chen pcmclk-pins { 494e7c304c0SWalker Chen pinmux = <GPIOMUX(38, GPOUT_HIGH, 495e7c304c0SWalker Chen GPOEN_DISABLE, 496e7c304c0SWalker Chen GPI_SYS_TDM_CLK)>; 497e7c304c0SWalker Chen input-enable; 498e7c304c0SWalker Chen }; 499e7c304c0SWalker Chen }; 500e7c304c0SWalker Chen}; 501e7c304c0SWalker Chen 502e7c304c0SWalker Chen&tdm { 503e7c304c0SWalker Chen pinctrl-names = "default"; 504e7c304c0SWalker Chen pinctrl-0 = <&tdm_pins>; 505e7c304c0SWalker Chen status = "okay"; 50654baba33SEmil Renner Berthing}; 50754baba33SEmil Renner Berthing 50854baba33SEmil Renner Berthing&uart0 { 50954baba33SEmil Renner Berthing pinctrl-names = "default"; 51054baba33SEmil Renner Berthing pinctrl-0 = <&uart0_pins>; 51154baba33SEmil Renner Berthing status = "okay"; 51254baba33SEmil Renner Berthing}; 513e2c510d6SMason Huo 514e126aa3aSMinda Chen&usb0 { 515e126aa3aSMinda Chen dr_mode = "peripheral"; 516e126aa3aSMinda Chen}; 517e126aa3aSMinda Chen 518e2c510d6SMason Huo&U74_1 { 519e2c510d6SMason Huo cpu-supply = <&vdd_cpu>; 520e2c510d6SMason Huo}; 521e2c510d6SMason Huo 522e2c510d6SMason Huo&U74_2 { 523e2c510d6SMason Huo cpu-supply = <&vdd_cpu>; 524e2c510d6SMason Huo}; 525e2c510d6SMason Huo 526e2c510d6SMason Huo&U74_3 { 527e2c510d6SMason Huo cpu-supply = <&vdd_cpu>; 528e2c510d6SMason Huo}; 529e2c510d6SMason Huo 530e2c510d6SMason Huo&U74_4 { 531e2c510d6SMason Huo cpu-supply = <&vdd_cpu>; 532e2c510d6SMason Huo}; 533