1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4*724ba675SRob Herring * Copyright (c) 2019 Radxa Limited 5*724ba675SRob Herring * Copyright (c) 2019 Amarula Solutions(India) 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include <dt-bindings/pwm/pwm.h> 9*724ba675SRob Herring 10*724ba675SRob Herring/ { 11*724ba675SRob Herring clkin_gmac: external-gmac-clock { 12*724ba675SRob Herring compatible = "fixed-clock"; 13*724ba675SRob Herring clock-frequency = <125000000>; 14*724ba675SRob Herring clock-output-names = "clkin_gmac"; 15*724ba675SRob Herring #clock-cells = <0>; 16*724ba675SRob Herring }; 17*724ba675SRob Herring 18*724ba675SRob Herring sdio_pwrseq: sdio-pwrseq { 19*724ba675SRob Herring compatible = "mmc-pwrseq-simple"; 20*724ba675SRob Herring clocks = <&hym8563>; 21*724ba675SRob Herring clock-names = "ext_clock"; 22*724ba675SRob Herring pinctrl-names = "default"; 23*724ba675SRob Herring pinctrl-0 = <&wifi_enable_h>; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring vcc12v_dcin: vcc12v-dcin-regulator { 27*724ba675SRob Herring compatible = "regulator-fixed"; 28*724ba675SRob Herring regulator-name = "vcc12v_dcin"; 29*724ba675SRob Herring regulator-always-on; 30*724ba675SRob Herring regulator-boot-on; 31*724ba675SRob Herring regulator-min-microvolt = <12000000>; 32*724ba675SRob Herring regulator-max-microvolt = <12000000>; 33*724ba675SRob Herring }; 34*724ba675SRob Herring 35*724ba675SRob Herring vcc5v0_sys: vcc5v0-sys-regulator { 36*724ba675SRob Herring compatible = "regulator-fixed"; 37*724ba675SRob Herring regulator-name = "vcc5v0_sys"; 38*724ba675SRob Herring regulator-always-on; 39*724ba675SRob Herring regulator-boot-on; 40*724ba675SRob Herring regulator-min-microvolt = <5000000>; 41*724ba675SRob Herring regulator-max-microvolt = <5000000>; 42*724ba675SRob Herring vin-supply = <&vcc12v_dcin>; 43*724ba675SRob Herring }; 44*724ba675SRob Herring 45*724ba675SRob Herring vbus_host: vbus-host { 46*724ba675SRob Herring compatible = "regulator-fixed"; 47*724ba675SRob Herring pinctrl-names = "default"; 48*724ba675SRob Herring pinctrl-0 = <&usb1_en_oc>; 49*724ba675SRob Herring regulator-name = "vbus_host"; /* HOST-5V */ 50*724ba675SRob Herring regulator-always-on; 51*724ba675SRob Herring vin-supply = <&vcc5v0_sys>; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring vbus_typec: vbus-typec { 55*724ba675SRob Herring compatible = "regulator-fixed"; 56*724ba675SRob Herring pinctrl-names = "default"; 57*724ba675SRob Herring pinctrl-0 = <&usb0_en_oc>; 58*724ba675SRob Herring regulator-name = "vbus_typec"; 59*724ba675SRob Herring regulator-always-on; 60*724ba675SRob Herring vin-supply = <&vcc5v0_sys>; 61*724ba675SRob Herring }; 62*724ba675SRob Herring}; 63*724ba675SRob Herring 64*724ba675SRob Herring&gmac { 65*724ba675SRob Herring assigned-clock-parents = <&clkin_gmac>; 66*724ba675SRob Herring clock_in_out = "input"; 67*724ba675SRob Herring phy-mode = "rgmii"; 68*724ba675SRob Herring pinctrl-names = "default"; 69*724ba675SRob Herring pinctrl-0 = <&rgmii_pins>; 70*724ba675SRob Herring snps,reset-active-low; 71*724ba675SRob Herring snps,reset-delays-us = <0 10000 50000>; 72*724ba675SRob Herring tx_delay = <0x28>; 73*724ba675SRob Herring rx_delay = <0x11>; 74*724ba675SRob Herring status = "okay"; 75*724ba675SRob Herring}; 76*724ba675SRob Herring 77*724ba675SRob Herring&hdmi { 78*724ba675SRob Herring status = "okay"; 79*724ba675SRob Herring}; 80*724ba675SRob Herring 81*724ba675SRob Herring&pwm0 { 82*724ba675SRob Herring status = "okay"; 83*724ba675SRob Herring}; 84*724ba675SRob Herring 85*724ba675SRob Herring&pwm2 { 86*724ba675SRob Herring status = "okay"; 87*724ba675SRob Herring}; 88*724ba675SRob Herring 89*724ba675SRob Herring&sdio0 { 90*724ba675SRob Herring bus-width = <4>; 91*724ba675SRob Herring cap-sd-highspeed; 92*724ba675SRob Herring cap-sdio-irq; 93*724ba675SRob Herring keep-power-in-suspend; 94*724ba675SRob Herring mmc-pwrseq = <&sdio_pwrseq>; 95*724ba675SRob Herring non-removable; 96*724ba675SRob Herring pinctrl-names = "default"; 97*724ba675SRob Herring pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; 98*724ba675SRob Herring sd-uhs-sdr104; 99*724ba675SRob Herring status = "okay"; 100*724ba675SRob Herring}; 101*724ba675SRob Herring 102*724ba675SRob Herring&sdmmc { 103*724ba675SRob Herring bus-width = <4>; 104*724ba675SRob Herring cap-mmc-highspeed; 105*724ba675SRob Herring cap-sd-highspeed; 106*724ba675SRob Herring disable-wp; 107*724ba675SRob Herring vqmmc-supply = <&vccio_sd>; 108*724ba675SRob Herring pinctrl-names = "default"; 109*724ba675SRob Herring pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; 110*724ba675SRob Herring status = "okay"; 111*724ba675SRob Herring}; 112*724ba675SRob Herring 113*724ba675SRob Herring&uart0 { 114*724ba675SRob Herring pinctrl-names = "default"; 115*724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts>; 116*724ba675SRob Herring status = "okay"; 117*724ba675SRob Herring}; 118*724ba675SRob Herring 119*724ba675SRob Herring&uart2 { 120*724ba675SRob Herring status = "okay"; 121*724ba675SRob Herring}; 122*724ba675SRob Herring 123*724ba675SRob Herring&vopb { 124*724ba675SRob Herring status = "okay"; 125*724ba675SRob Herring}; 126*724ba675SRob Herring 127*724ba675SRob Herring&vopb_mmu { 128*724ba675SRob Herring status = "okay"; 129*724ba675SRob Herring}; 130*724ba675SRob Herring 131*724ba675SRob Herring&vopl { 132*724ba675SRob Herring status = "okay"; 133*724ba675SRob Herring}; 134*724ba675SRob Herring 135*724ba675SRob Herring&vopl_mmu { 136*724ba675SRob Herring status = "okay"; 137*724ba675SRob Herring}; 138