1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2022 Theobroma Systems Design und Consulting GmbH
8 #include <dt-bindings/leds/common.h>
18 emmc_pwrseq: emmc-pwrseq {
19 compatible = "mmc-pwrseq-emmc";
20 pinctrl-0 = <&emmc_reset>;
21 pinctrl-names = "default";
22 reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>;
26 compatible = "gpio-leds";
27 pinctrl-names = "default";
28 pinctrl-0 = <&module_led_pin>;
32 gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
33 function = LED_FUNCTION_HEARTBEAT;
34 linux,default-trigger = "heartbeat";
35 color = <LED_COLOR_ID_AMBER>;
39 vcc5v0_sys: vccsys-regulator {
40 compatible = "regulator-fixed";
41 regulator-name = "vcc5v0_sys";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
50 cpu-supply = <&vdd_arm>;
54 cpu-supply = <&vdd_arm>;
58 cpu-supply = <&vdd_arm>;
62 cpu-supply = <&vdd_arm>;
70 mmc-pwrseq = <&emmc_pwrseq>;
72 vmmc-supply = <&vcc_3v3>;
73 vqmmc-supply = <&vcc_emmc>;
78 /* On-module TI DP83825I PHY but no connector, enable in carrierboard */
80 snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
81 snps,reset-active-low;
82 snps,reset-delays-us = <0 50000 50000>;
83 phy-supply = <&vcc_3v3>;
84 clock_in_out = "output";
89 * The Qseven BIOS_DISABLE signal on the PX30-µQ7 keeps the on-module
90 * eMMC powered-down initially (in fact it keeps the reset signal
91 * asserted). BIOS_DISABLE_OVERRIDE pin allows to re-enable eMMC after
92 * the SPL has been booted from SD Card.
94 bios-disable-override-hog {
95 gpios = <RK_PB5 GPIO_ACTIVE_LOW>;
97 line-name = "bios_disable_override";
102 * The BIOS_DISABLE hog is a feedback pin for the actual status of the
103 * signal, ignoring the BIOS_DISABLE_OVERRIDE logic. This usually
104 * represents the state of a switch on the baseboard.
107 gpios = <RK_PC2 GPIO_ACTIVE_LOW>;
108 line-name = "bios_disable";
122 compatible = "rockchip,rk809";
124 interrupt-parent = <&gpio0>;
125 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
126 pinctrl-0 = <&pmic_int>;
127 pinctrl-names = "default";
129 clock-output-names = "xin32k";
130 rockchip,system-power-controller;
133 vcc1-supply = <&vcc5v0_sys>;
134 vcc2-supply = <&vcc5v0_sys>;
135 vcc3-supply = <&vcc5v0_sys>;
136 vcc4-supply = <&vcc5v0_sys>;
137 vcc5-supply = <&vcc_3v3>;
138 vcc6-supply = <&vcc_3v3>;
139 vcc7-supply = <&vcc_3v3>;
140 vcc9-supply = <&vcc5v0_sys>;
144 regulator-name = "vdd_log";
145 regulator-min-microvolt = <950000>;
146 regulator-max-microvolt = <1350000>;
147 regulator-ramp-delay = <6001>;
151 regulator-state-mem {
152 regulator-on-in-suspend;
153 regulator-suspend-microvolt = <950000>;
158 regulator-name = "vdd_arm";
159 regulator-min-microvolt = <950000>;
160 regulator-max-microvolt = <1350000>;
161 regulator-ramp-delay = <6001>;
165 regulator-state-mem {
166 regulator-off-in-suspend;
167 regulator-suspend-microvolt = <950000>;
172 regulator-name = "vcc_ddr";
176 regulator-state-mem {
177 regulator-on-in-suspend;
181 vcc_3v0_1v8: vcc_emmc: DCDC_REG4 {
182 regulator-name = "vcc_3v0_1v8";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <3000000>;
188 regulator-state-mem {
189 regulator-on-in-suspend;
190 regulator-suspend-microvolt = <3000000>;
195 regulator-name = "vcc_3v3";
196 regulator-min-microvolt = <3300000>;
197 regulator-max-microvolt = <3300000>;
201 regulator-state-mem {
202 regulator-on-in-suspend;
203 regulator-suspend-microvolt = <3300000>;
208 regulator-name = "vcc_1v8";
209 regulator-min-microvolt = <1800000>;
210 regulator-max-microvolt = <1800000>;
214 regulator-state-mem {
215 regulator-on-in-suspend;
216 regulator-suspend-microvolt = <1800000>;
221 regulator-name = "vcc_1v0";
222 regulator-min-microvolt = <1000000>;
223 regulator-max-microvolt = <1000000>;
227 regulator-state-mem {
228 regulator-on-in-suspend;
229 regulator-suspend-microvolt = <1000000>;
234 regulator-name = "vccio_sd";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <3300000>;
240 regulator-state-mem {
241 regulator-on-in-suspend;
242 regulator-suspend-microvolt = <3300000>;
249 regulator-min-microvolt = <1000000>;
250 regulator-max-microvolt = <1000000>;
251 regulator-name = "vcc_lcd";
253 regulator-state-mem {
254 regulator-off-in-suspend;
255 regulator-suspend-microvolt = <1000000>;
259 vcc_1v8_lcd: LDO_REG8 {
260 regulator-name = "vcc_1v8_lcd";
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <1800000>;
266 regulator-state-mem {
267 regulator-on-in-suspend;
268 regulator-suspend-microvolt = <1800000>;
273 regulator-name = "vcca_1v8";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
279 regulator-state-mem {
280 regulator-off-in-suspend;
281 regulator-suspend-microvolt = <1800000>;
291 /* SE05x is limited to Fast Mode */
292 clock-frequency = <400000>;
295 compatible = "ti,amc6821";
297 #cooling-cells = <2>;
301 compatible = "isil,isl1208";
311 rockchip,trcm-sync-tx-only;
313 pinctrl-0 = <&i2s0_8ch_sclktx &i2s0_8ch_lrcktx
314 &i2s0_8ch_sdo0 &i2s0_8ch_sdi0>;
318 vccio1-supply = <&vcc_3v3>;
319 vccio2-supply = <&vccio_sd>;
320 vccio3-supply = <&vcc_3v3>;
321 vccio4-supply = <&vcc_3v3>;
322 vccio5-supply = <&vcc_3v3>;
323 vccio6-supply = <&vcc_emmc>;
324 vccio-oscgpi-supply = <&vcc_3v3>;
331 emmc_reset: emmc-reset {
332 rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
337 module_led_pin: module-led-pin {
338 rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
345 <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
351 vref-supply = <&vcc_1v8>;
356 vqmmc-supply = <&vccio_sd>;