arm64: dts: rockchip: add rk356x sfc support
authorPeter Geis <pgwipeout@gmail.com>
Fri, 29 Apr 2022 11:52:49 +0000 (07:52 -0400)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Apr 2022 13:22:34 +0000 (15:22 +0200)
Add the sfc node to the rk356x device tree. This enables spi flash
support for this soc.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20220429115252.2360496-5-pgwipeout@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk356x.dtsi

index 55e6dcb948cc502ecb34e367ae86c8818a2af577..3f0e11af738dce88eac98d1ee0de4f0bc2113441 100644 (file)
                status = "disabled";
        };
 
+       sfc: spi@fe300000 {
+               compatible = "rockchip,sfc";
+               reg = <0x0 0xfe300000 0x0 0x4000>;
+               interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
+               clock-names = "clk_sfc", "hclk_sfc";
+               pinctrl-0 = <&fspi_pins>;
+               pinctrl-names = "default";
+               status = "disabled";
+       };
+
        sdhci: mmc@fe310000 {
                compatible = "rockchip,rk3568-dwcmshc";
                reg = <0x0 0xfe310000 0x0 0x10000>;