mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
linux (Rockchip): RK3399: dts and linux-next regulators for rock-pi-n10
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,116 @@
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi 2021-05-08 09:11:59.000000000 +0000
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi 2021-05-08 09:11:59.000000000 +0000
|
||||
@@ -57,6 +57,22 @@
|
||||
pinctrl-0 = <&hdmi_cec>;
|
||||
};
|
||||
|
||||
+&hdmi_sound {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&gpu {
|
||||
+ mali-supply = <&vdd_gpu>;
|
||||
+ assigned-clocks = <&cru ACLK_GPU>;
|
||||
+ assigned-clock-rates = <200000000>;
|
||||
+ status = "okay";
|
||||
+ /delete-property/ operating-points-v2;
|
||||
+};
|
||||
+
|
||||
+&vopl {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
&i2c0 {
|
||||
clock-frequency = <400000>;
|
||||
i2c-scl-falling-time-ns = <30>;
|
||||
@@ -289,6 +288,50 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+ vdd_cpu_b: tcs4525@1c {
|
||||
+ compatible = "tcs,tcs4525";
|
||||
+ reg = <0x1c>;
|
||||
+ vin-supply = <&vcc5v0_sys>;
|
||||
+ regulator-compatible = "fan53555-reg";
|
||||
+ pinctrl-0 = <&vsel1_gpio>;
|
||||
+ vsel-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
+ regulator-name = "vdd_cpu_b";
|
||||
+ regulator-min-microvolt = <712500>;
|
||||
+ regulator-max-microvolt = <1500000>;
|
||||
+ regulator-ramp-delay = <2300>;
|
||||
+ fcs,suspend-voltage-selector = <1>;
|
||||
+ regulator-always-on;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-initial-state = <3>;
|
||||
+ regulator-state-mem {
|
||||
+ regulator-off-in-suspend;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ vdd_gpu: tcs4526@10 {
|
||||
+ compatible = "tcs,tcs4526";
|
||||
+ reg = <0x10>;
|
||||
+ vin-supply = <&vcc5v0_sys>;
|
||||
+ regulator-compatible = "fan53555-reg";
|
||||
+ pinctrl-0 = <&vsel2_gpio>;
|
||||
+ vsel-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
+ regulator-name = "vdd_gpu";
|
||||
+ regulator-min-microvolt = <735000>;
|
||||
+ regulator-max-microvolt = <1400000>;
|
||||
+ regulator-ramp-delay = <1000>;
|
||||
+ fcs,suspend-voltage-selector = <1>;
|
||||
+ regulator-always-on;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-initial-state = <3>;
|
||||
+ regulator-state-mem {
|
||||
+ regulator-off-in-suspend;
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
+
|
||||
+&i2s2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
|
||||
&i2c1 {
|
||||
@@ -381,6 +380,29 @@
|
||||
pmic_int_l: pmic-int-l {
|
||||
rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>;
|
||||
};
|
||||
+ vsel1_gpio: vsel1-gpio {
|
||||
+ rockchip,pins =
|
||||
+ <1 RK_PC1 0 &pcfg_pull_down>;
|
||||
+ };
|
||||
+ vsel2_gpio: vsel2-gpio {
|
||||
+ rockchip,pins =
|
||||
+ <1 RK_PB6 0 &pcfg_pull_down>;
|
||||
+ };
|
||||
+
|
||||
+ soc_slppin_gpio: soc-slppin-gpio {
|
||||
+ rockchip,pins =
|
||||
+ <1 RK_PA5 0 &pcfg_output_low>;
|
||||
+ };
|
||||
+
|
||||
+ soc_slppin_slp: soc-slppin-slp {
|
||||
+ rockchip,pins =
|
||||
+ <1 RK_PA5 1 &pcfg_pull_down>;
|
||||
+ };
|
||||
+
|
||||
+ soc_slppin_rst: soc-slppin-rst {
|
||||
+ rockchip,pins =
|
||||
+ <1 RK_PA5 2 &pcfg_pull_none>;
|
||||
+ };
|
||||
};
|
||||
|
||||
sdio-pwrseq {
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts 2021-04-07 13:00:14.000000000 +0000
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts 2021-04-07 13:00:14.000000000 +0000
|
||||
@@ -20,3 +20,7 @@
|
||||
stdout-path = "serial2:1500000n8";
|
||||
};
|
||||
};
|
||||
+
|
||||
+&uart2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
Reference in New Issue
Block a user