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 <[email protected]>
---
 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

Reply via email to