bmips: dts: fix warnings
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 9 Mar 2023 17:54:59 +0000 (18:54 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 9 Mar 2023 18:05:30 +0000 (19:05 +0100)
- Add missing interrupt-parent to ext_intc.
- Add missing #address-cells and #size-cells to gpio_cntl.
- Use proper gpio handle for gpios (ar-5315u).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
target/linux/bmips/dts/bcm6318.dtsi
target/linux/bmips/dts/bcm63268.dtsi
target/linux/bmips/dts/bcm6328.dtsi
target/linux/bmips/dts/bcm6358.dtsi
target/linux/bmips/dts/bcm6362.dtsi
target/linux/bmips/dts/bcm6368.dtsi

index a54d63277054dab7ff8927aa0995f1bfdadb9264..ec50c3e07df5e582e5292bef52231956e26f2a70 100644 (file)
 
                wps {
                        label = "wps";
-                       gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                        debounce-interval = <60>;
                };
 
                reset {
                        label = "reset";
-                       gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                        debounce-interval = <60>;
                };
index 13e1bf11441924c1262cac3b70f5ba127c8fa846..eb012fe243be54ad31dd430912d2c7585cdd0432 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6318_IRQ_EXT0>,
                                     <BCM6318_IRQ_EXT1>,
                                     <BCM6318_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@10000080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6318-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x10000080 0x80>;
index 2bc86d26f97ee0c4308dd5b5bddaff0c91d8b22e..248e1afc79bb6e1cef377f1684ea53ddf3104dfc 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM63268_IRQ_EXT0>,
                                     <BCM63268_IRQ_EXT1>,
                                     <BCM63268_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@100000c0 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm63268-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x100000c0 0x80>;
index dfd603b7c6ea43858e14d83486263b586b46e277..d61903e15480e196bac59b9a171f296d8220fad3 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6328_IRQ_EXTO>,
                                     <BCM6328_IRQ_EXT1>,
                                     <BCM6328_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@10000080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6328-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x10000080 0x80>;
index 34334df9ba1f1a35fb358436ef33e0d3035143c1..e08ead0623fd371061f9c1e99841eada61a24322 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6358_IRQ_EXT0>,
                                     <BCM6358_IRQ_EXT1>,
                                     <BCM6358_IRQ_EXT2>,
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6358_IRQ_EXT4>,
                                     <BCM6358_IRQ_EXT5>;
                };
                };
 
                gpio_cntl: syscon@fffe0080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6358-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0xfffe0080 0x50>;
index d66a602df7a8aeea9eff88cdb8fb2cd9b278785e..720afde7cf7b0e9b1d0f9bc3b80ba902431fe420 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6362_IRQ_EXT0>,
                                     <BCM6362_IRQ_EXT1>,
                                     <BCM6362_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@10000080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6362-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x10000080 0x80>;
index 5ba909219363e66e0422dfbe83a709e39f7ba766..2eafa027cda9732d7ddd965e3fe19228de216d4c 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6368_IRQ_EXT0>,
                                     <BCM6368_IRQ_EXT1>,
                                     <BCM6368_IRQ_EXT2>,
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6368_IRQ_EXT4>,
                                     <BCM6368_IRQ_EXT5>;
                };
                };
 
                gpio_cntl: syscon@10000080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6368-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x10000080 0x80>;