forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlays-11-add-rk3318-box-led-conf4(:1)
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
1 parent
d14e532
commit f5c9a25
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
arch/arm64/boot/dts/rockchip/overlay/rockchip-rk3318-box-led-conf4.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
}; |