Skip to content

Commit 5fa580a

Browse files
authored
arm64: dts: rock 3c: add spi nor flash (torvalds#161)
Signed-off-by: Ken Wang <[email protected]>
1 parent 1eb1bc8 commit 5fa580a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,32 @@
851851

852852
&sfc {
853853
status = "okay";
854+
max-freq = <50000000>;
855+
#address-cells = <1>;
856+
#size-cells = <0>;
857+
pinctrl-names = "default";
858+
pinctrl-0 = <&fspi_pins>;
859+
860+
spi_flash: spi-flash@0 {
861+
#address-cells = <1>;
862+
#size-cells = <0>;
863+
compatible = "jedec,spi-nor";
864+
reg = <0x0>;
865+
spi-max-frequency = <50000000>;
866+
spi-tx-bus-width = <1>;
867+
spi-rx-bus-width = <4>;
868+
status = "okay";
869+
870+
partitions {
871+
compatible = "fixed-partitions";
872+
#address-cells = <1>;
873+
#size-cells = <1>;
874+
loader@0 {
875+
label = "loader";
876+
reg = <0x0 0x1000000>;
877+
};
878+
};
879+
};
854880
};
855881

856882
&tsadc {

0 commit comments

Comments
 (0)