bmips: dts: fix warnings
- 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>
This commit is contained in:
@@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -103,6 +103,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6318_IRQ_EXT0>,
|
interrupts = <BCM6318_IRQ_EXT0>,
|
||||||
<BCM6318_IRQ_EXT1>,
|
<BCM6318_IRQ_EXT1>,
|
||||||
<BCM6318_IRQ_EXT2>,
|
<BCM6318_IRQ_EXT2>,
|
||||||
@@ -143,6 +144,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@10000080 {
|
gpio_cntl: syscon@10000080 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm6318-gpio-sysctl",
|
compatible = "brcm,bcm6318-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x10000080 0x80>;
|
reg = <0x10000080 0x80>;
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM63268_IRQ_EXT0>,
|
interrupts = <BCM63268_IRQ_EXT0>,
|
||||||
<BCM63268_IRQ_EXT1>,
|
<BCM63268_IRQ_EXT1>,
|
||||||
<BCM63268_IRQ_EXT2>,
|
<BCM63268_IRQ_EXT2>,
|
||||||
@@ -154,6 +155,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@100000c0 {
|
gpio_cntl: syscon@100000c0 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm63268-gpio-sysctl",
|
compatible = "brcm,bcm63268-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x100000c0 0x80>;
|
reg = <0x100000c0 0x80>;
|
||||||
|
|||||||
@@ -105,6 +105,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6328_IRQ_EXTO>,
|
interrupts = <BCM6328_IRQ_EXTO>,
|
||||||
<BCM6328_IRQ_EXT1>,
|
<BCM6328_IRQ_EXT1>,
|
||||||
<BCM6328_IRQ_EXT2>,
|
<BCM6328_IRQ_EXT2>,
|
||||||
@@ -146,6 +147,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@10000080 {
|
gpio_cntl: syscon@10000080 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm6328-gpio-sysctl",
|
compatible = "brcm,bcm6328-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x10000080 0x80>;
|
reg = <0x10000080 0x80>;
|
||||||
|
|||||||
@@ -124,6 +124,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6358_IRQ_EXT0>,
|
interrupts = <BCM6358_IRQ_EXT0>,
|
||||||
<BCM6358_IRQ_EXT1>,
|
<BCM6358_IRQ_EXT1>,
|
||||||
<BCM6358_IRQ_EXT2>,
|
<BCM6358_IRQ_EXT2>,
|
||||||
@@ -138,6 +139,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6358_IRQ_EXT4>,
|
interrupts = <BCM6358_IRQ_EXT4>,
|
||||||
<BCM6358_IRQ_EXT5>;
|
<BCM6358_IRQ_EXT5>;
|
||||||
};
|
};
|
||||||
@@ -158,6 +160,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@fffe0080 {
|
gpio_cntl: syscon@fffe0080 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm6358-gpio-sysctl",
|
compatible = "brcm,bcm6358-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0xfffe0080 0x50>;
|
reg = <0xfffe0080 0x50>;
|
||||||
|
|||||||
@@ -118,6 +118,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6362_IRQ_EXT0>,
|
interrupts = <BCM6362_IRQ_EXT0>,
|
||||||
<BCM6362_IRQ_EXT1>,
|
<BCM6362_IRQ_EXT1>,
|
||||||
<BCM6362_IRQ_EXT2>,
|
<BCM6362_IRQ_EXT2>,
|
||||||
@@ -147,6 +148,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@10000080 {
|
gpio_cntl: syscon@10000080 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm6362-gpio-sysctl",
|
compatible = "brcm,bcm6362-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x10000080 0x80>;
|
reg = <0x10000080 0x80>;
|
||||||
|
|||||||
@@ -108,6 +108,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6368_IRQ_EXT0>,
|
interrupts = <BCM6368_IRQ_EXT0>,
|
||||||
<BCM6368_IRQ_EXT1>,
|
<BCM6368_IRQ_EXT1>,
|
||||||
<BCM6368_IRQ_EXT2>,
|
<BCM6368_IRQ_EXT2>,
|
||||||
@@ -122,6 +123,7 @@
|
|||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <2>;
|
#interrupt-cells = <2>;
|
||||||
|
|
||||||
|
interrupt-parent = <&periph_intc>;
|
||||||
interrupts = <BCM6368_IRQ_EXT4>,
|
interrupts = <BCM6368_IRQ_EXT4>,
|
||||||
<BCM6368_IRQ_EXT5>;
|
<BCM6368_IRQ_EXT5>;
|
||||||
};
|
};
|
||||||
@@ -149,6 +151,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpio_cntl: syscon@10000080 {
|
gpio_cntl: syscon@10000080 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
compatible = "brcm,bcm6368-gpio-sysctl",
|
compatible = "brcm,bcm6368-gpio-sysctl",
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x10000080 0x80>;
|
reg = <0x10000080 0x80>;
|
||||||
|
|||||||
Reference in New Issue
Block a user