1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/gpio/gpio.h>
9 model = "Radxa ROCK 5 Model B";
10 compatible = "radxa,rock-5b", "rockchip,rk3588";
18 stdout-path = "serial2:1500000n8";
22 compatible = "pwm-fan";
23 cooling-levels = <0 95 145 195 255>;
24 fan-supply = <&vcc5v0_sys>;
25 pwms = <&pwm1 0 50000 0>;
30 compatible = "audio-graph-card";
33 widgets = "Microphone", "Mic Jack",
34 "Headphone", "Headphones";
36 routing = "MIC2", "Mic Jack",
40 dais = <&i2s0_8ch_p0>;
41 hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&hp_detect>;
46 vcc5v0_sys: vcc5v0-sys-regulator {
47 compatible = "regulator-fixed";
48 regulator-name = "vcc5v0_sys";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
57 cpu-supply = <&vdd_cpu_big0_s0>;
61 cpu-supply = <&vdd_cpu_big0_s0>;
65 cpu-supply = <&vdd_cpu_big1_s0>;
69 cpu-supply = <&vdd_cpu_big1_s0>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&i2c0m2_xfer>;
77 vdd_cpu_big0_s0: regulator@42 {
78 compatible = "rockchip,rk8602";
80 fcs,suspend-voltage-selector = <1>;
81 regulator-name = "vdd_cpu_big0_s0";
84 regulator-min-microvolt = <550000>;
85 regulator-max-microvolt = <1050000>;
86 regulator-ramp-delay = <2300>;
87 vin-supply = <&vcc5v0_sys>;
90 regulator-off-in-suspend;
94 vdd_cpu_big1_s0: regulator@43 {
95 compatible = "rockchip,rk8603", "rockchip,rk8602";
97 fcs,suspend-voltage-selector = <1>;
98 regulator-name = "vdd_cpu_big1_s0";
101 regulator-min-microvolt = <550000>;
102 regulator-max-microvolt = <1050000>;
103 regulator-ramp-delay = <2300>;
104 vin-supply = <&vcc5v0_sys>;
106 regulator-state-mem {
107 regulator-off-in-suspend;
116 compatible = "haoyu,hym8563";
119 clock-output-names = "hym8563";
120 pinctrl-names = "default";
121 pinctrl-0 = <&hym8563_int>;
122 interrupt-parent = <&gpio0>;
123 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
131 es8316: audio-codec@11 {
132 compatible = "everest,es8316";
134 clocks = <&cru I2S0_8CH_MCLKOUT>;
135 clock-names = "mclk";
136 #sound-dai-cells = <0>;
139 es8316_p0_0: endpoint {
140 remote-endpoint = <&i2s0_8ch_p0_0>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&i2s0_lrck
156 i2s0_8ch_p0_0: endpoint {
159 remote-endpoint = <&es8316_p0_0>;
166 hym8563_int: hym8563-int {
167 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
172 hp_detect: hp-detect {
173 rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
187 max-frequency = <200000000>;
189 mmc-hs400-enhanced-strobe;
194 pinctrl-0 = <&uart2m0_xfer>;