1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2023 Arm Ltd. 3 * Copyright (C) 2023 Arm Ltd. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "sun50i-h616-orangepi-zero.dtsi" 8 #include "sun50i-h616-orangepi-zero.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 10 10 11 / { 11 / { 12 model = "OrangePi Zero3"; 12 model = "OrangePi Zero3"; 13 compatible = "xunlong,orangepi-zero3", 13 compatible = "xunlong,orangepi-zero3", "allwinner,sun50i-h618"; 14 }; 14 }; 15 15 16 &cpu0 { 16 &cpu0 { 17 cpu-supply = <®_dcdc2>; 17 cpu-supply = <®_dcdc2>; 18 }; 18 }; 19 19 20 &emac0 { 20 &emac0 { 21 allwinner,tx-delay-ps = <700>; 21 allwinner,tx-delay-ps = <700>; 22 phy-mode = "rgmii-rxid"; 22 phy-mode = "rgmii-rxid"; 23 phy-supply = <®_dldo1>; 23 phy-supply = <®_dldo1>; 24 }; 24 }; 25 25 26 &ext_rgmii_phy { 26 &ext_rgmii_phy { 27 motorcomm,clk-out-frequency-hz = <1250 27 motorcomm,clk-out-frequency-hz = <125000000>; 28 }; 28 }; 29 29 30 &mmc0 { 30 &mmc0 { 31 /* 31 /* 32 * The schematic shows the card detect 32 * The schematic shows the card detect pin wired up to PF6, via an 33 * inverter, but it just doesn't work. 33 * inverter, but it just doesn't work. 34 */ 34 */ 35 broken-cd; 35 broken-cd; 36 vmmc-supply = <®_dldo1>; 36 vmmc-supply = <®_dldo1>; 37 }; 37 }; 38 38 39 &r_i2c { 39 &r_i2c { 40 status = "okay"; 40 status = "okay"; 41 41 42 axp313: pmic@36 { 42 axp313: pmic@36 { 43 compatible = "x-powers,axp313a 43 compatible = "x-powers,axp313a"; 44 reg = <0x36>; 44 reg = <0x36>; 45 #interrupt-cells = <1>; 45 #interrupt-cells = <1>; 46 interrupt-controller; 46 interrupt-controller; 47 interrupt-parent = <&pio>; 47 interrupt-parent = <&pio>; 48 interrupts = <2 9 IRQ_TYPE_LEV 48 interrupts = <2 9 IRQ_TYPE_LEVEL_LOW>; /* PC9 */ 49 49 50 vin1-supply = <®_vcc5v>; 50 vin1-supply = <®_vcc5v>; 51 vin2-supply = <®_vcc5v>; 51 vin2-supply = <®_vcc5v>; 52 vin3-supply = <®_vcc5v>; 52 vin3-supply = <®_vcc5v>; 53 53 54 regulators { 54 regulators { 55 /* Supplies VCC-PLL, s 55 /* Supplies VCC-PLL, so needs to be always on. */ 56 reg_aldo1: aldo1 { 56 reg_aldo1: aldo1 { 57 regulator-alwa 57 regulator-always-on; 58 regulator-min- 58 regulator-min-microvolt = <1800000>; 59 regulator-max- 59 regulator-max-microvolt = <1800000>; 60 regulator-name 60 regulator-name = "vcc1v8"; 61 }; 61 }; 62 62 63 /* Supplies VCC-IO, so 63 /* Supplies VCC-IO, so needs to be always on. */ 64 reg_dldo1: dldo1 { 64 reg_dldo1: dldo1 { 65 regulator-alwa 65 regulator-always-on; 66 regulator-min- 66 regulator-min-microvolt = <3300000>; 67 regulator-max- 67 regulator-max-microvolt = <3300000>; 68 regulator-name 68 regulator-name = "vcc3v3"; 69 }; 69 }; 70 70 71 reg_dcdc1: dcdc1 { 71 reg_dcdc1: dcdc1 { 72 regulator-alwa 72 regulator-always-on; 73 regulator-min- 73 regulator-min-microvolt = <810000>; 74 regulator-max- 74 regulator-max-microvolt = <990000>; 75 regulator-name 75 regulator-name = "vdd-gpu-sys"; 76 }; 76 }; 77 77 78 reg_dcdc2: dcdc2 { 78 reg_dcdc2: dcdc2 { 79 regulator-alwa 79 regulator-always-on; 80 regulator-min- 80 regulator-min-microvolt = <810000>; 81 regulator-max- 81 regulator-max-microvolt = <1100000>; 82 regulator-name 82 regulator-name = "vdd-cpu"; 83 }; 83 }; 84 84 85 reg_dcdc3: dcdc3 { 85 reg_dcdc3: dcdc3 { 86 regulator-alwa 86 regulator-always-on; 87 regulator-min- 87 regulator-min-microvolt = <1100000>; 88 regulator-max- 88 regulator-max-microvolt = <1100000>; 89 regulator-name 89 regulator-name = "vdd-dram"; 90 }; 90 }; 91 }; 91 }; 92 }; 92 }; 93 }; 93 }; 94 94 95 &pio { 95 &pio { 96 vcc-pc-supply = <®_dldo1>; 96 vcc-pc-supply = <®_dldo1>; 97 vcc-pf-supply = <®_dldo1>; 97 vcc-pf-supply = <®_dldo1>; 98 vcc-pg-supply = <®_aldo1>; 98 vcc-pg-supply = <®_aldo1>; 99 vcc-ph-supply = <®_dldo1>; 99 vcc-ph-supply = <®_dldo1>; 100 vcc-pi-supply = <®_dldo1>; 100 vcc-pi-supply = <®_dldo1>; 101 }; 101 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.