rockchip64 legacy: drop duplicated patch

This commit is contained in:
Ricardo Pardini 2023-06-13 19:43:19 +02:00 committed by Igor
parent bfa8947c0d
commit fcddac6cab

View File

@ -1,167 +0,0 @@
new file mode 120000
index 00000000..5a62cd6b
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts
@@ -0,0 +1,161 @@
+/dts-v1/;
+#include "rk3399-roc-pc.dtsi"
+
+/ {
+ model = "Firefly roc-rk3399-pc PLUS";
+ compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399";
+
+ es8388-sound {
+ status = "okay";
+ compatible = "simple-audio-card";
+ simple-audio-card,format = "i2s";
+ simple-audio-card,name = "rockchip,es8388-codec";
+ simple-audio-card,mclk-fs = <256>;
+ simple-audio-card,cpu {
+ sound-dai = <&i2s1>;
+ system-clock-frequency = <11289600>;
+ };
+ simple-audio-card,codec {
+ sound-dai = <&es8388>;
+ system-clock-frequency = <11289600>;
+ };
+ };
+ /delete-node/ vcc_hub_en-regulator;
+
+ fan_enable: fan-regulator {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&fan_pin>;
+ regulator-name = "fan_enable";
+ regulator-always-on;
+ };
+};
+
+/* RTC */
+
+&rk808{
+ rtc {
+ status = "disabled";
+ };
+};
+
+&i2c0 {
+ status = "okay";
+ hym8563: hym8563@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ clock-output-names = "xin32k";
+ };
+};
+
+
+&i2c4 {
+ /delete-node/ fusb30x@22;
+};
+
+&fusb0 {
+ fusb302,role = "ROLE_MODE_DFP";
+ vbus-5v-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+};
+
+&cdn_dp {
+ status = "disabled";
+ extcon = <&fusb0>;
+ phys = <&tcphy0_dp>;
+};
+
+&tcphy1 {
+ /delete-property/ extcon;
+};
+
+&u2phy1 {
+ /delete-property/ extcon;
+};
+
+&usbdrd3_1 {
+ /delete-property/ extcon;
+};
+
+
+
+
+
+
+
+&i2s1 {
+ status = "okay";
+};
+
+&vcc_wifi {
+ gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&vcc_wifi_h>;
+};
+
+&vcc_wifi_h {
+ rockchip,pins = <2 4 RK_FUNC_GPIO &pcfg_pull_none>;
+};
+
+&dmc {
+ status = "disabled";
+};
+
+&rk808 {
+ /delete-property/ pmic,hold-gpio;
+};
+
+&i2c1 {
+ status = "okay";
+ es8388: es8388@11 {
+ compatible = "everest,es8323";
+ status = "okay";
+ reg = <0x11>;
+ hp-det-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+ hp-ctl-gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>;
+ clock-names = "mclk";
+ clocks = <&cru SCLK_I2S_8CH_OUT>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2s_8ch_mclk>;
+ pinctrl-1 = <&ear_ctl_h>;
+ #sound-dai-cells = <0>;
+ };
+};
+
+
+
+
+
+
+
+&pinctrl {
+ es8388-pins {
+ ear_ctl_h: ear-ctl-h {
+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_down>;
+ };
+ };
+
+ fan {
+ fan_pin: fan-pin {
+ rockchip,pins =
+ <1 1 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+};
+
+/*
+&fusb0 {
+ status = "disabled";
+};
+
+
+&fusb1 {
+ status = "disabled";
+};
+*/