From 10ebd8556b7990499c896a550e3d416b444211e6 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 02:23:07 +0000 Subject: [PATCH] add led --- kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi | 40 ++++++++++++++++++++++++---------------- 1 files changed, 24 insertions(+), 16 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi index 86e94fd..66fcf6c 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi @@ -139,6 +139,7 @@ status = "disabled"; compatible = "simple-audio-card"; simple-audio-card,name = "rockchip,spdif-tx-sound"; + simple-audio-card,mclk-fs = <128>; simple-audio-card,cpu { sound-dai = <&spdif_tx>; }; @@ -168,6 +169,15 @@ regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; + }; + + vcc_3v3_codec: vcc_io: vcc-io { + compatible = "regulator-fixed"; + regulator-name = "vcc_io"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; }; vccio_sdio: vcc_1v8: vcc-1v8 { @@ -207,15 +217,6 @@ regulator-max-microvolt = <1500000>; }; - vcc_3v3_codec: vcc_io: vcc-io { - compatible = "regulator-fixed"; - regulator-name = "vcc_io"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - vccio_flash: vccio-flash { compatible = "regulator-fixed"; regulator-name = "vccio_flash"; @@ -246,7 +247,7 @@ uart_rts_gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "rts_gpio"; pinctrl-0 = <&uart4_rts>; - pinctrl-1 = <&uart4_rts_gpio>; + pinctrl-1 = <&uart4_rts_pin>; BT,power_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; BT,wake_host_irq = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; status = "okay"; @@ -283,7 +284,8 @@ bus-width = <8>; cap-mmc-highspeed; mmc-hs200-1_8v; - supports-emmc; + no-sdio; + no-sd; disable-wp; non-removable; num-slots = <1>; @@ -686,7 +688,8 @@ &sdio { bus-width = <4>; cap-sd-highspeed; - supports-sdio; + no-sd; + no-mmc; ignore-pm-notify; keep-power-in-suspend; non-removable; @@ -699,7 +702,8 @@ bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - supports-sd; + no-sdio; + no-mmc; card-detect-delay = <300>; vmmc-supply = <&vcc_sd>; status = "disabled"; @@ -716,9 +720,6 @@ }; &pinctrl { - pinctrl-names = "default"; - pinctrl-0 = <&rtc_32k>; - buttons { pwr_key: pwr-key { rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; @@ -737,6 +738,13 @@ rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + wireless-bluetooth { + uart4_gpios: uart4-gpios { + rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + }; &pwm0 { -- Gitblit v1.6.2