[PATCH 3/4] arm: dts: r8a77995-u-boot: Add SPI Flash Support
zhengxunli
zhengxunli at mxic.com.tw
Wed Jan 20 06:30:10 CET 2021
Add U-Boot SPI Flash support for the Renesas Draak board and
configure RX and TX bus-width values to support octal I/O mode.
Signed-off-by: zhengxunli <zhengxunli at mxic.com.tw>
---
arch/arm/dts/r8a77995-u-boot.dtsi | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/r8a77995-u-boot.dtsi b/arch/arm/dts/r8a77995-u-boot.dtsi
index 0917a80..aa23af1 100644
--- a/arch/arm/dts/r8a77995-u-boot.dtsi
+++ b/arch/arm/dts/r8a77995-u-boot.dtsi
@@ -14,7 +14,16 @@
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
clocks = <&cpg CPG_MOD 917>;
bank-width = <2>;
- status = "disabled";
+ status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ flash0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <8>;
+ };
};
};
};
--
1.9.1
More information about the U-Boot
mailing list