ARM: dts: rockchip: Enable SFC for edgeble-neu2
authorStephen Chen <stephen@radxa.com>
Mon, 31 Jul 2023 10:35:16 +0000 (16:05 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 10 Aug 2023 20:41:55 +0000 (22:41 +0200)
Enable on module SPI Flash present in Edgeble Neu2.

Tested-by: Jagan Teki <jagan@edgeble.ai>
Signed-off-by: Stephen Chen <stephen@radxa.com>
Link: https://lore.kernel.org/r/20230731103518.2906147-12-jagan@edgeble.ai
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi

index e3e5752..6bbaf6d 100644 (file)
        status = "okay";
 };
 
+&sfc {
+       pinctrl-names = "default";
+       pinctrl-0 = <&fspi_pins>;
+       #address-cells = <1>;
+       #size-cells = <0>;
+       status = "okay";
+
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <50000000>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <1>;
+       };
+};
+
 &sdio {
        bus-width = <4>;
        cap-sd-highspeed;