diff options
author | FUKAUMI Naoki <[email protected]> | 2024-06-23 11:33:28 +0900 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2024-06-24 18:14:02 +0200 |
commit | 00224650dd45e166ea6eb1593f5f064583963ccf (patch) | |
tree | 941b9136615f35ea922059d11fcce8ad63214070 | |
parent | 9204a7ecca96403ee3d61c14cb9eb87ec89b0fcd (diff) |
arm64: dts: rockchip: add (but disabled) SFC node for Radxa ROCK 5A
This commit adds SFC node for Radxa ROCK 5A.
since sdhci and sfc on RK3588s share pins(i.e. exclusive), it cannot
be enabled both nodes at the same time. so status = "okay" is omitted
here.
you may be able to enable sfc (and disable sdhci) by fdt overlay.
SPI NOR flash chip may vary, so use safe(lowest) spi-max-frequency.
Signed-off-by: FUKAUMI Naoki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index c671a61d3aef..4cc1790ebd08 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -376,6 +376,19 @@ status = "okay"; }; +&sfc { + pinctrl-names = "default"; + pinctrl-0 = <&fspim0_pins>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <1>; + }; +}; + &spi2 { status = "okay"; assigned-clocks = <&cru CLK_SPI2>; |