From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:46:07 +0000 Subject: [PATCH] add audio --- kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi | 57 +++++++++++++++++++-------------------------------------- 1 files changed, 19 insertions(+), 38 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi old mode 100755 new mode 100644 index 9147b63..8963446 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb1-ddr4-v10.dtsi @@ -67,11 +67,11 @@ }; &csi2_dphy_hw { - status = "disabled"; + status = "okay"; }; &csi2_dphy1 { - status = "disabled"; + status = "okay"; /* * dphy1 only used for split mode, @@ -108,7 +108,7 @@ }; &csi2_dphy2 { - status = "disabled"; + status = "okay"; /* * dphy2 only used for split mode, @@ -160,7 +160,7 @@ * when dsi0 is enabled */ &dsi0 { - status = "disabled"; + status = "okay"; }; &dsi0_in_vp0 { @@ -168,7 +168,7 @@ }; &dsi0_in_vp1 { - status = "disabled"; + status = "okay"; }; &dsi0_panel { @@ -218,37 +218,13 @@ status = "disabled"; }; -&gmac1 { - phy-mode = "rgmii"; - clock_in_out = "output"; - - snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - /* Reset time is 20ms, 100ms for rtl8211f */ - snps,reset-delays-us = <0 20000 100000>; - - assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; - assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru CLK_MAC1_2TOP>; - assigned-clock-rates = <0>, <125000000>; - - pinctrl-names = "default"; - pinctrl-0 = <&gmac1m1_miim - &gmac1m1_tx_bus2 - &gmac1m1_rx_bus2 - &gmac1m1_rgmii_clk - &gmac1m1_rgmii_bus>; - - tx_delay = <0x4f>; - rx_delay = <0x26>; - - - status = "okay"; -}; - /* * power-supply should switche to vcc3v3_lcd1_n * when mipi panel is connected to dsi1. */ +>1x { + power-supply = <&vcc3v3_lcd0_n>; +}; &i2c2 { status = "okay"; @@ -348,7 +324,7 @@ }; &video_phy0 { - status = "disabled"; + status = "okay"; }; &video_phy1 { @@ -398,15 +374,15 @@ }; &rkisp { - status = "disabled"; + status = "okay"; }; &rkisp_mmu { - status = "disabled"; + status = "okay"; }; &rkisp_vir0 { - status = "disabled"; + status = "okay"; port { #address-cells = <1>; @@ -420,13 +396,14 @@ }; &route_dsi0 { - status = "disabled"; + status = "okay"; connect = <&vp1_out_dsi0>; }; &sdmmc2 { max-frequency = <150000000>; - supports-sdio; + no-sd; + no-mmc; bus-width = <4>; disable-wp; cap-sd-highspeed; @@ -473,6 +450,10 @@ WIFI,host_wake_irq = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>; }; +&work_led { + gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>; +}; + &pinctrl { cam { camera_pwr: camera-pwr { -- Gitblit v1.6.2