arm64: dts: rockchip: rk3399-khadas-edge: missed nodes
Subsystems (2)
cover arm64: dts: rockchip: rk3399-khadas-edge: missed nodes
From: Artem Lapkin <[email protected]>
add missed spiflash and ir-receiver dts nodes to Khadas Edge Board
Artem Lapkin (2):
arm64: dts: rockchip: rk3399-khadas-edge: add missed spiflash node
arm64: dts: rockchip: rk3399-khadas-edge: add missed ir-recevier and
ir_rx pinctl nodes
.../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+)
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 1/2 arm64: dts: rockchip: rk3399-khadas-edge: add missed spiflash node
From: Artem Lapkin <[email protected]>
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz
--- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi +14 -0
@@ -805,3 +805,17 @@ &vopl { &vopl_mmu { status = "okay"; }; + + +&spi1 { + max-freq = <104000000>; + status = "okay"; + + spiflash: flash@0 { + u-boot,dm-pre-reloc; + compatible = "winbond,w25q128fw", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + }; +}; +
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
PATCH 2/2 arm64: dts: rockchip: rk3399-khadas-edge add missed ir-receiver and ir_rx pinctl nodes
In reply to Artem LapkinFrom: Artem Lapkin <[email protected]>
add missed ir receivier to Khadas Edge board
Khadas Edge uses gpio-ir-receiver on RK_PB6 gpio
--- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi +16 -0
@@ -109,6 +109,14 @@ vsys_5v0: vsys-5v0 { vin-supply = <&vsys>; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_rx>; + linux,rc-map-name = "rc-khadas"; + }; + adc-keys { compatible = "adc-keys"; io-channels = <&saradc 1>;
@@ -682,6 +690,14 @@ &sdmmc { status = "okay"; }; +&pinctrl { + ir { + ir_rx: ir-rx { + rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &sdhci { bus-width = <8>; mmc-hs400-1_8v;
Signature · 7 lines
2.25.1 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip