diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2019-05-08 19:00:46 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2019-05-08 19:00:46 +0000 |
commit | 0db636cb5e9747c177d4fe9ae36c20987819a1b6 (patch) | |
tree | b45f33ee0918192a1d0373c223d19aa906875c98 /src/arm/sun9i-a80-cubieboard4.dts | |
parent | 2131505c51f1ac8ac0a6db71efcda1b4bd61084b (diff) | |
download | src-0db636cb5e9747c177d4fe9ae36c20987819a1b6.tar.gz src-0db636cb5e9747c177d4fe9ae36c20987819a1b6.zip |
Import Linux 5.1 DTS filesvendor/device-tree/5.1
Notes
Notes:
svn path=/vendor/device-tree/dist/; revision=347363
svn path=/vendor/device-tree/5.1/; revision=347364; tag=vendor/device-tree/5.1
Diffstat (limited to 'src/arm/sun9i-a80-cubieboard4.dts')
-rw-r--r-- | src/arm/sun9i-a80-cubieboard4.dts | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/src/arm/sun9i-a80-cubieboard4.dts b/src/arm/sun9i-a80-cubieboard4.dts index 85da85faf869..28c034928d67 100644 --- a/src/arm/sun9i-a80-cubieboard4.dts +++ b/src/arm/sun9i-a80-cubieboard4.dts @@ -133,6 +133,19 @@ status = "okay"; }; +&gmac { + pinctrl-names = "default"; + pinctrl-0 = <&gmac_rgmii_pins>; + phy = <&phy1>; + phy-mode = "rgmii"; + phy-supply = <®_cldo1>; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; + &i2c3 { pinctrl-names = "default"; pinctrl-0 = <&i2c3_pins>; @@ -183,10 +196,26 @@ clocks = <&ac100_rtc 0>; }; +&pio { + vcc-pa-supply = <®_ldo_io1>; + vcc-pb-supply = <®_aldo2>; + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dc1sw>; + vcc-pe-supply = <®_eldo2>; + vcc-pf-supply = <®_dcdc1>; + vcc-pg-supply = <®_ldo_io0>; + vcc-ph-supply = <®_dcdc1>; +}; + &r_ir { status = "okay"; }; +&r_pio { + vcc-pl-supply = <®_dldo2>; + vcc-pm-supply = <®_eldo3>; +}; + &r_rsb { status = "okay"; @@ -217,6 +246,10 @@ /* unused */ }; + reg_dc1sw: dc1sw { + regulator-name = "vcc-pd"; + }; + reg_dc5ldo: dc5ldo { regulator-always-on; regulator-min-microvolt = <800000>; @@ -271,7 +304,6 @@ }; reg_dldo2: dldo2 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pl"; @@ -290,14 +322,12 @@ }; reg_eldo3: eldo3 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pm-codec-io1"; }; reg_ldo_io0: ldo_io0 { - regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "vcc-pg"; @@ -385,6 +415,14 @@ */ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + /* + * The PHY requires 20ms after all voltages + * are applied until core logic is ready and + * 30ms after the reset pin is de-asserted. + * Set a 100ms delay to account for PMIC + * ramp time and board traces. + */ + regulator-enable-ramp-delay = <100000>; regulator-name = "vcc-gmac-phy"; }; |