DTC was throwing warnings like this:
image-qcom-ipq4018-jalapeno.dtb: Warning (avoid_unnecessary_addr_size): /soc/spi@
78b5000/m25p80@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
image-qcom-ipq4018-jalapeno.dtb: Warning (avoid_unnecessary_addr_size): /soc/spi@
78b5000/spi-nand@1: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
So lets fix this for our downstream boards.
Signed-off-by: Robert Marko <robimarko@gmail.com>
flash@0 {
compatible = "jedec,spi-nor";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0>;
spi-max-frequency = <24000000>;
status = "okay";
status = "okay";
m25p80@0 {
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <24000000>;
spi-nand@1 {
status = "okay";
- #address-cells = <1>;
- #size-cells = <0>;
compatible = "spi-nand";
reg = <1>;
spi-max-frequency = <24000000>;
mx25l25635f@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0>;
spi-max-frequency = <24000000>;
status = "okay";
<&tlmm 59 GPIO_ACTIVE_HIGH>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <0>;
/*
* U-boot looks for "n25q128a11" node,
* if we don't have it, it will spit out the following warning:
};
spi-nand@1 {
- #address-cells = <1>;
- #size-cells = <0>;
compatible = "spi-nand";
reg = <1>;
spi-max-frequency = <24000000>;
cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <24000000>;
mx25l25635f@0 {
compatible = "jedec,spi-nor";
- #address-cells = <1>;
- #size-cells = <1>;
reg = <0>;
spi-max-frequency = <24000000>;