Skip to content

Commit

Permalink
WIP: arm64: dts: meson: add spifc node to ODROID-HC4
Browse files Browse the repository at this point in the history
Add a node for the XT25F128B SPI-NOR flash to make it accessible
from Linux.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
  • Loading branch information
chewitt committed Apr 12, 2021
1 parent 72ac7ab commit 4b524c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
Expand Up @@ -90,6 +90,20 @@
status = "disabled";
};

&spifc {
status = "okay";
pinctrl-0 = <&nor_pins>;
pinctrl-names = "default";

xt25f128b: spi-flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <104000000>;
};
};

&usb {
phys = <&usb2_phy0>, <&usb2_phy1>;
phy-names = "usb2-phy0", "usb2-phy1";
Expand Down

0 comments on commit 4b524c7

Please sign in to comment.