Message ID | 1533016762-5268-3-git-send-email-djw@t-chip.com.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add sdmmc UHS support to ROC-RK3328-CC board. | expand |
Hi Levin, Am Dienstag, 31. Juli 2018, 07:59:20 CEST schrieb djw@t-chip.com.cn: > From: Levin Du <djw@t-chip.com.cn> > > Adding a GRF GPIO controller labled "grf_gpio" to rk3328, currently > providing access to the GPIO_MUTE pin, which is manupulated by the > GRF_SOC_CON10 register. > > The GPIO_MUTE pin is referred to as <&grf_gpio 0>. > > Signed-off-by: Levin Du <djw@t-chip.com.cn> applied to my dts64 branch, with 2 changes: - reordered, please sort nodes without address alphabetically - removed default disabled status The controlled pin is always present on the soc, so doesn't need to be enabled on a per-board level Heiko
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 3f5a294..bf5656d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -275,6 +275,12 @@ mode-loader = <BOOT_BL_DOWNLOAD>; }; + grf_gpio: grf-gpio { + compatible = "rockchip,rk3328-grf-gpio"; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; }; uart0: serial@ff110000 {