Skip to content

Commit

Permalink
ayufan: rock5b: add spiflash
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Feb 6, 2024
1 parent df31d15 commit c0c41be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,20 @@
status = "okay";
};

&sfc {
pinctrl-names = "default";
pinctrl-0 = <&fspim2_pins>;
status = "okay";

spi_flash: flash@0 {
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-max-frequency = <100000000>;
spi-rx-bus-width = <4>;
spi-tx-bus-width = <1>;
};
};

&uart6 {
pinctrl-names = "default";
pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
Expand Down

0 comments on commit c0c41be

Please sign in to comment.