Skip to content

Commit

Permalink
arm64: dts: rock 3a: add spi nor flash
Browse files Browse the repository at this point in the history
  • Loading branch information
pykpkg47 committed Sep 7, 2024
1 parent 3cd9856 commit b81d89b
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,34 @@
};

&sfc {
status = "okay";
status = "okay";
max-freq = <50000000>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&fspi_pins>;

spi_flash: spi-flash@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-max-frequency = <50000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

loader@0 {
label = "loader";
reg = <0x0 0x1000000>;
};
};
};
};

&tsadc {
Expand Down

0 comments on commit b81d89b

Please sign in to comment.