ARM: dts: uniphier: add GPIO controller nodes
The GPIO controller also acts as an interrupt controller and the interrupt lines are connected to the AIDET block. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
1658b84de4
commit
5d4bc4bd41
@ -103,6 +103,20 @@
|
|||||||
clocks = <&peri_clk 3>;
|
clocks = <&peri_clk 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio: gpio@55000000 {
|
||||||
|
compatible = "socionext,uniphier-gpio";
|
||||||
|
reg = <0x55000000 0x200>;
|
||||||
|
interrupt-parent = <&aidet>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 0>;
|
||||||
|
gpio-ranges-group-names = "gpio_range";
|
||||||
|
ngpios = <136>;
|
||||||
|
socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
|
||||||
|
};
|
||||||
|
|
||||||
i2c0: i2c@58400000 {
|
i2c0: i2c@58400000 {
|
||||||
compatible = "socionext,uniphier-i2c";
|
compatible = "socionext,uniphier-i2c";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -111,6 +111,20 @@
|
|||||||
clocks = <&peri_clk 3>;
|
clocks = <&peri_clk 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio: gpio@55000000 {
|
||||||
|
compatible = "socionext,uniphier-gpio";
|
||||||
|
reg = <0x55000000 0x200>;
|
||||||
|
interrupt-parent = <&aidet>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 0>;
|
||||||
|
gpio-ranges-group-names = "gpio_range";
|
||||||
|
ngpios = <248>;
|
||||||
|
socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
|
||||||
|
};
|
||||||
|
|
||||||
i2c0: i2c@58780000 {
|
i2c0: i2c@58780000 {
|
||||||
compatible = "socionext,uniphier-fi2c";
|
compatible = "socionext,uniphier-fi2c";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -198,6 +198,20 @@
|
|||||||
clocks = <&peri_clk 3>;
|
clocks = <&peri_clk 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio: gpio@55000000 {
|
||||||
|
compatible = "socionext,uniphier-gpio";
|
||||||
|
reg = <0x55000000 0x200>;
|
||||||
|
interrupt-parent = <&aidet>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 0>;
|
||||||
|
gpio-ranges-group-names = "gpio_range";
|
||||||
|
ngpios = <248>;
|
||||||
|
socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
|
||||||
|
};
|
||||||
|
|
||||||
i2c0: i2c@58780000 {
|
i2c0: i2c@58780000 {
|
||||||
compatible = "socionext,uniphier-fi2c";
|
compatible = "socionext,uniphier-fi2c";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -205,6 +205,23 @@
|
|||||||
clocks = <&peri_clk 3>;
|
clocks = <&peri_clk 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio: gpio@55000000 {
|
||||||
|
compatible = "socionext,uniphier-gpio";
|
||||||
|
reg = <0x55000000 0x200>;
|
||||||
|
interrupt-parent = <&aidet>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 0>,
|
||||||
|
<&pinctrl 96 0 0>;
|
||||||
|
gpio-ranges-group-names = "gpio_range0",
|
||||||
|
"gpio_range1";
|
||||||
|
ngpios = <232>;
|
||||||
|
socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
|
||||||
|
<21 217 3>;
|
||||||
|
};
|
||||||
|
|
||||||
i2c0: i2c@58780000 {
|
i2c0: i2c@58780000 {
|
||||||
compatible = "socionext,uniphier-fi2c";
|
compatible = "socionext,uniphier-fi2c";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -103,6 +103,24 @@
|
|||||||
clocks = <&peri_clk 3>;
|
clocks = <&peri_clk 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpio: gpio@55000000 {
|
||||||
|
compatible = "socionext,uniphier-gpio";
|
||||||
|
reg = <0x55000000 0x200>;
|
||||||
|
interrupt-parent = <&aidet>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 0>,
|
||||||
|
<&pinctrl 104 0 0>,
|
||||||
|
<&pinctrl 112 0 0>;
|
||||||
|
gpio-ranges-group-names = "gpio_range0",
|
||||||
|
"gpio_range1",
|
||||||
|
"gpio_range2";
|
||||||
|
ngpios = <136>;
|
||||||
|
socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
|
||||||
|
};
|
||||||
|
|
||||||
i2c0: i2c@58400000 {
|
i2c0: i2c@58400000 {
|
||||||
compatible = "socionext,uniphier-i2c";
|
compatible = "socionext,uniphier-i2c";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
Loading…
Reference in New Issue
Block a user