Skip to content

Commit

Permalink
overlays-11-add-rk3318-box-led-conf4(:1)
Browse files Browse the repository at this point in the history
Original-Subject: add rk3318-box-led-conf4 overlay
None
X-Armbian: Patch-File: overlays-11-add-rk3318-box-led-conf4
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.3
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: add rk3318-box-led-conf4 overlay
  • Loading branch information
paolosabatino authored and Armbian AutoPatcher committed Oct 8, 2022
1 parent d14e532 commit f5c9a25
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Expand Up @@ -14,6 +14,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-rk3318-box-led-conf1.dtbo \
rockchip-rk3318-box-led-conf2.dtbo \
rockchip-rk3318-box-led-conf3.dtbo \
rockchip-rk3318-box-led-conf4.dtbo \
rockchip-rk3318-box-emmc-ddr.dtbo \
rockchip-rk3318-box-wlan-ap6334.dtbo \
rockchip-rk3318-box-wlan-ext.dtbo \
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Expand Up @@ -140,6 +140,10 @@ has an integrated PMIC (RK805). The dtbo is very important to achieve
1.3 Ghz speed for CPU and stable voltages for other parts of the
system. Also enables gpio leds and keys.

### rk3318-box-led-conf4

Generic rk3318-box configuration but with sdio chip on sdmmc-ext connector

### rk3318-box-emmc-ddr

Activates eMMC DDR capability for rk3318 tv box boards. Probably all the eMMC chips
Expand Down
@@ -0,0 +1,38 @@
/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/rockchip.h>

/**
* Generic rk3318 board with sdio bus on sdmmc_ext connector
*/

&gpio_led {

working {
gpios = <&gpio2 RK_PC7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc2";
};

};

/*
* Following section enables the sdio bus on sdmmc_ext controller
*/
&sdio {
/delete-property/ mmc-pwrseq;
status = "disabled";
};

&sdio_ext {
rockchip,default-sample-phase = <112>;
sd-uhs-sdr50;
mmc-pwrseq = <&sdio_pwrseq>;
status = "okay";
};

&sdmmc_ext {
status = "disabled";
};

0 comments on commit f5c9a25

Please sign in to comment.