[PATCH 3/4] arm: dts: r8a77995-u-boot: Add SPI Flash Support
zhengxunli at mxic.com.tw
zhengxunli at mxic.com.tw
Fri Nov 27 10:03:14 CET 2020
From: zhengxun <zhengxunli at mxic.com.tw>
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: zhengxun <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 8e9f6b7a7d..86aeeda474 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>;
+ };
};
};
};
--
2.17.1
More information about the U-Boot
mailing list