From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:03 +0000 Subject: [PATCH] add ax88772C AX88772C_eeprom_tools --- kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi | 51 ++++++++++++++++++++++++++++++++------------------- 1 files changed, 32 insertions(+), 19 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi index 828ef81..3e36985 100755 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi @@ -188,10 +188,22 @@ leds: leds { compatible = "gpio-leds"; - sys_led: sys_led { - gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; + run_led: run_led { + gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; + default-state = "on"; +// linux,default-trigger = "heartbeat"; }; + /* + sig_led: sig_led { + gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + err_led: err_led { + gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + */ }; pdmics: dummy-codec { @@ -214,22 +226,23 @@ rk809_sound: rk809-sound { status = "okay"; - compatible = "rockchip,multicodecs-card"; - rockchip,card-name = "rockchip-rk809"; - hp-det-gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>; - rockchip,format = "i2s"; - rockchip,mclk-fs = <256>; - rockchip,cpu = <&i2s1_8ch>; - rockchip,codec = <&rk809_codec>; -// pinctrl-names = "default"; -// pinctrl-0 = <&hp_det>; + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,name = "rockchip,rk809-codec"; + simple-audio-card,mclk-fs = <256>; + + simple-audio-card,cpu { + sound-dai = <&i2s1_8ch>; + }; + simple-audio-card,codec { + sound-dai = <&rk809_codec>; + }; }; spdif-sound { status = "okay"; compatible = "simple-audio-card"; simple-audio-card,name = "ROCKCHIP,SPDIF"; - simple-audio-card,mclk-fs = <128>; simple-audio-card,cpu { sound-dai = <&spdif_8ch>; }; @@ -317,7 +330,6 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; enable-active-high; - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 vin-supply = <&vcc3v3_sys>; regulator-state-mem { @@ -332,7 +344,6 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; enable-active-high; - gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc3v3_sys>; regulator-state-mem { @@ -361,6 +372,8 @@ compatible = "wlan-platdata"; rockchip,grf = <&grf>; wifi_chip_type = "ap6398s"; + clocks = <&rk809 1>; + clock-names = "ext_clock"; status = "okay"; }; @@ -397,6 +410,7 @@ &dfi { status = "okay"; }; + &dmc { center-supply = <&vdd_logic>; @@ -1234,7 +1248,7 @@ }; rk809_codec: codec { - #sound-dai-cells = <1>; + #sound-dai-cells = <0>; compatible = "rockchip,rk809-codec", "rockchip,rk817-codec"; clocks = <&cru I2S1_MCLKOUT>; clock-names = "mclk"; @@ -1288,7 +1302,6 @@ }; &i2s3_2ch { - pinctrl-0 = <&i2s3m0_sclk &i2s3m0_lrck &i2s3m0_sdi &i2s3m0_sdo>; rockchip,bclk-fs = <32>; status = "disabled"; }; @@ -1430,7 +1443,7 @@ }; &pwm7 { - status = "okay"; + status = "disabled"; compatible = "rockchip,remotectl-pwm"; remote_pwm_id = <3>; @@ -1605,7 +1618,7 @@ }; &spdif_8ch { - status = "okay"; + status = "disabled"; }; &tsadc { -- Gitblit v1.6.2