diff options
author | Christian Hewitt <christianshewitt@gmail.com> | 2021-06-07 08:54:34 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-06-14 09:57:45 +0200 |
commit | 7178f340e9299dc886e6ddf6e938f09967902109 (patch) | |
tree | 01d32471e23088d07d0a1ab688bac2cee38cb0ce | |
parent | 164147f094ec5d0fc2c2098a888f4b50cf3096a7 (diff) | |
download | linux-stable-7178f340e9299dc886e6ddf6e938f09967902109.tar.gz linux-stable-7178f340e9299dc886e6ddf6e938f09967902109.tar.bz2 linux-stable-7178f340e9299dc886e6ddf6e938f09967902109.zip |
arm64: dts: meson-sm1-odroid-hc4: add spifc node to ODROID-HC4
Add a node for the XT25F128B SPI-NOR flash to make it accessible
from Linux.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20210607065435.577334-7-narmstrong@baylibre.com
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts index fdad6b994c88..f3f953225bf5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts @@ -116,6 +116,20 @@ status = "disabled"; }; +&spifc { + status = "okay"; + pinctrl-0 = <&nor_pins>; + pinctrl-names = "default"; + + spi-flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + }; +}; + &usb { phys = <&usb2_phy1>; phy-names = "usb2-phy1"; |