1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright (C) 2020-2021 Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
10 #include "owl-s500.dtsi"
13 compatible = "roseapplepi,roseapplepi", "actions,s500";
14 model = "Roseapple Pi";
22 stdout-path = "serial2:115200n8";
26 device_type = "memory";
27 reg = <0x0 0x80000000>; /* 2GB */
30 syspwr: regulator-5v0 {
31 compatible = "regulator-fixed";
32 regulator-name = "SYSPWR";
33 regulator-min-microvolt = <5000000>;
34 regulator-max-microvolt = <5000000>;
40 cpu0-supply = <&vdd_cpu>;
45 pinctrl-names = "default";
46 pinctrl-0 = <&i2c0_pins>;
49 compatible = "actions,atc2603c";
51 interrupt-parent = <&sirq>;
52 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
57 compatible = "actions,atc2603c-regulator";
59 dcdc1-supply = <&syspwr>;
60 dcdc2-supply = <&syspwr>;
61 dcdc3-supply = <&syspwr>;
62 ldo1-supply = <&syspwr>;
63 ldo2-supply = <&syspwr>;
64 ldo3-supply = <&syspwr>;
65 ldo5-supply = <&syspwr>;
66 ldo6-supply = <&syspwr>;
67 ldo7-supply = <&syspwr>;
68 ldo8-supply = <&syspwr>;
69 ldo11-supply = <&syspwr>;
70 ldo12-supply = <&syspwr>;
71 switchldo1-supply = <&vcc>;
74 regulator-name = "VDD_CPU";
75 regulator-min-microvolt = <700000>;
76 regulator-max-microvolt = <1400000>;
81 regulator-name = "VDDQ";
82 regulator-min-microvolt = <1300000>;
83 regulator-max-microvolt = <2150000>;
89 regulator-name = "VCC";
90 regulator-min-microvolt = <2600000>;
91 regulator-max-microvolt = <3300000>;
96 regulator-name = "VCC_3V3";
97 regulator-min-microvolt = <2600000>;
98 regulator-max-microvolt = <3300000>;
103 regulator-name = "AVCC";
104 regulator-min-microvolt = <2600000>;
105 regulator-max-microvolt = <3300000>;
110 regulator-name = "VDD_1V8";
111 regulator-min-microvolt = <1500000>;
112 regulator-max-microvolt = <2000000>;
117 regulator-name = "VCC_3V1";
118 regulator-min-microvolt = <2600000>;
119 regulator-max-microvolt = <3300000>;
123 regulator-name = "AVDD";
124 regulator-min-microvolt = <700000>;
125 regulator-max-microvolt = <1400000>;
130 regulator-name = "SENS_1V8";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
136 regulator-name = "LDO8";
137 regulator-min-microvolt = <2300000>;
138 regulator-max-microvolt = <3300000>;
142 regulator-name = "SVCC";
143 regulator-min-microvolt = <2600000>;
144 regulator-max-microvolt = <3300000>;
149 regulator-name = "RTC_VDD";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
156 regulator-name = "SD_VCC";
157 regulator-min-microvolt = <3000000>;
158 regulator-max-microvolt = <3300000>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&i2c1_pins>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&i2c2_pins>;
179 i2c0_pins: i2c0-pins {
186 pins = "i2c0_sclk", "i2c0_sdata";
191 i2c1_pins: i2c1-pins {
193 pins = "i2c1_sclk", "i2c1_sdata";
198 i2c2_pins: i2c2-pins {
200 pins = "i2c2_sclk", "i2c2_sdata";
205 mmc0_pins: mmc0-pins {
207 groups = "sd0_d0_mfp", "sd0_d1_mfp", "sd0_d2_d3_mfp",
208 "sd0_cmd_mfp", "sd0_clk_mfp";
213 groups = "sd0_d0_d3_drv", "sd0_cmd_drv", "sd0_clk_drv";
214 drive-strength = <8>;
218 pins = "sd0_d0", "sd0_d1", "sd0_d2",
229 ethernet_pins: ethernet-pins {
231 groups = "rmii_txd0_mfp", "rmii_txd1_mfp",
232 "rmii_rxd0_mfp", "rmii_rxd1_mfp",
233 "rmii_txen_mfp", "rmii_rxen_mfp",
234 "rmii_crs_dv_mfp", "rmii_ref_clk_mfp";
235 function = "eth_rmii";
239 groups = "clko_25m_mfp";
240 function = "clko_25m";
244 groups = "rmii_ref_clk_drv";
245 drive-strength = <2>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&mmc0_pins>;
259 cd-gpios = <&pinctrl 117 GPIO_ACTIVE_LOW>;
261 vmmc-supply = <&sd_vcc>;
262 vqmmc-supply = <&sd_vcc>;
266 pinctrl-names = "default";
267 pinctrl-0 = <ðernet_pins>;
269 phy-handle = <ð_phy>;
273 #address-cells = <1>;
276 reset-gpios = <&pinctrl 88 GPIO_ACTIVE_LOW>; /* GPIOC24 */
277 reset-delay-us = <10000>;
278 reset-post-delay-us = <150000>;
280 eth_phy: ethernet-phy@3 {
283 interrupt-parent = <&sirq>;
284 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;