|
@@ -57,6 +57,11 @@
|
|
renesas,groups = "intc_irq0";
|
|
renesas,groups = "intc_irq0";
|
|
renesas,function = "intc";
|
|
renesas,function = "intc";
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ qspi_pins: spi0 {
|
|
|
|
+ renesas,groups = "qspi_ctrl", "qspi_data4";
|
|
|
|
+ renesas,function = "qspi";
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
ðer {
|
|
ðer {
|
|
@@ -92,3 +97,41 @@
|
|
|
|
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+&qspi {
|
|
|
|
+ pinctrl-0 = <&qspi_pins>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ flash@0 {
|
|
|
|
+ compatible = "spansion,s25fl512s", "jedec,spi-nor";
|
|
|
|
+ reg = <0>;
|
|
|
|
+ spi-max-frequency = <30000000>;
|
|
|
|
+ spi-tx-bus-width = <4>;
|
|
|
|
+ spi-rx-bus-width = <4>;
|
|
|
|
+ spi-cpol;
|
|
|
|
+ spi-cpha;
|
|
|
|
+ m25p,fast-read;
|
|
|
|
+
|
|
|
|
+ partitions {
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "loader";
|
|
|
|
+ reg = <0x00000000 0x00040000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+ partition@40000 {
|
|
|
|
+ label = "user";
|
|
|
|
+ reg = <0x00040000 0x00400000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+ partition@440000 {
|
|
|
|
+ label = "flash";
|
|
|
|
+ reg = <0x00440000 0x03bc0000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|