1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 #include "rk3568-radxa-cm3i.dtsi"
7 model = "Radxa E25 Carrier Board";
8 compatible = "radxa,e25", "radxa,cm3i", "rockchip,rk3568";
15 compatible = "pwm-leds-multicolor";
18 color = <LED_COLOR_ID_RGB>;
19 max-brightness = <255>;
22 color = <LED_COLOR_ID_RED>;
23 pwms = <&pwm1 0 1000000 0>;
27 color = <LED_COLOR_ID_GREEN>;
28 pwms = <&pwm2 0 1000000 0>;
32 color = <LED_COLOR_ID_BLUE>;
33 pwms = <&pwm12 0 1000000 0>;
38 vbus_typec: vbus-typec-regulator {
39 compatible = "regulator-fixed";
41 gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&vbus_typec_en>;
44 regulator-name = "vbus_typec";
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
47 vin-supply = <&vcc5v0_sys>;
50 /* actually fed by vcc5v0_sys, dependent
51 * on pi6c clock generator
53 vcc3v3_minipcie: vcc3v3-minipcie-regulator {
54 compatible = "regulator-fixed";
56 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&minipcie_enable_h>;
59 regulator-name = "vcc3v3_minipcie";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
62 vin-supply = <&vcc3v3_pi6c_05>;
65 vcc3v3_ngff: vcc3v3-ngff-regulator {
66 compatible = "regulator-fixed";
68 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&ngffpcie_enable_h>;
71 regulator-name = "vcc3v3_ngff";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 vin-supply = <&vcc5v0_sys>;
77 vcc3v3_pcie30x1: vcc3v3-pcie30x1-regulator {
78 compatible = "regulator-fixed";
80 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pcie30x1_enable_h>;
83 regulator-name = "vcc3v3_pcie30x1";
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
86 vin-supply = <&vcc5v0_sys>;
89 vcc3v3_pi6c_05: vcc3v3-pi6c-05-regulator {
90 compatible = "regulator-fixed";
92 gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pcie_enable_h>;
95 regulator-name = "vcc3v3_pcie";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 vin-supply = <&vcc5v0_sys>;
103 phy-supply = <&vcc3v3_pcie30x1>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pcie20_reset_h>;
109 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
110 vpcie3v3-supply = <&vcc3v3_pi6c_05>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&pcie30x1m0_pins>;
123 reset-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
124 vpcie3v3-supply = <&vcc3v3_minipcie>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&pcie30x2_reset_h>;
132 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
133 vpcie3v3-supply = <&vcc3v3_pi6c_05>;
139 pcie20_reset_h: pcie20-reset-h {
140 rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
143 pcie30x1_enable_h: pcie30x1-enable-h {
144 rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
147 pcie30x2_reset_h: pcie30x2-reset-h {
148 rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
151 pcie_enable_h: pcie-enable-h {
152 rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
157 minipcie_enable_h: minipcie-enable-h {
158 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
161 ngffpcie_enable_h: ngffpcie-enable-h {
162 rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
165 vbus_typec_en: vbus_typec_en {
166 rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pwm12m1_pins>;
192 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
193 /* Also used in pcie30x1_clkreqnm0 */
195 pinctrl-names = "default";
196 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd>;
198 vmmc-supply = <&vcc3v3_sd>;
199 vqmmc-supply = <&vccio_sd>;
224 phy-supply = <&vbus_typec>;
229 phy-supply = <&vcc3v3_minipcie>;
234 phy-supply = <&vcc3v3_ngff>;