From: Stephen Chen Date: Mon, 31 Jul 2023 10:35:16 +0000 (+0530) Subject: ARM: dts: rockchip: Enable SFC for edgeble-neu2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f544630dc4967fc58cc995d0d2dd3940d9848c39;p=linux.git ARM: dts: rockchip: Enable SFC for edgeble-neu2 Enable on module SPI Flash present in Edgeble Neu2. Tested-by: Jagan Teki Signed-off-by: Stephen Chen Link: https://lore.kernel.org/r/20230731103518.2906147-12-jagan@edgeble.ai Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi index e3e5752fd6b78..6bbaf6da65454 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi @@ -301,6 +301,22 @@ 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;