ipq40xx: fix dtc warning (#4660)
arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning (reg_format): "reg" property in /led_spi/led_gpio@0 has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1) arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /led_spi/led_gpio@0 arch/arm/boot/dts/qcom-ipq4019-wpj419.dtb: Warning (reg_format): /soc/spi@78b5000/flash0@0/partitions/partition@0:reg: property has invalid length (8 bytes) (#size-cells == 1) Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
This commit is contained in:
parent
cd6e66d6e1
commit
097f36d48c
@ -114,7 +114,7 @@
|
|||||||
led_spi {
|
led_spi {
|
||||||
compatible = "spi-gpio";
|
compatible = "spi-gpio";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
ranges;
|
#size-cells = <0>;
|
||||||
|
|
||||||
sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
|
sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
|
||||||
mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
|
mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
led_spi {
|
led_spi {
|
||||||
compatible = "spi-gpio";
|
compatible = "spi-gpio";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
ranges;
|
#size-cells = <0>;
|
||||||
|
|
||||||
sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
|
sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
|
||||||
mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
|
mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -151,8 +151,6 @@
|
|||||||
num-cs = <2>;
|
num-cs = <2>;
|
||||||
|
|
||||||
flash0@0 {
|
flash0@0 {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-max-frequency = <24000000>;
|
spi-max-frequency = <24000000>;
|
||||||
@ -160,6 +158,8 @@
|
|||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
partition@0 {
|
partition@0 {
|
||||||
label = "0:SBL1";
|
label = "0:SBL1";
|
||||||
@ -275,7 +275,7 @@
|
|||||||
i2c_0: i2c@78b7000 {
|
i2c_0: i2c@78b7000 {
|
||||||
pinctrl-0 = <&i2c_0_pins>;
|
pinctrl-0 = <&i2c_0_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "ok";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
serial@78af000 {
|
serial@78af000 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user