ARM: dts: uniphier: use macros in dt-bindings header
The dt-bindings header was applied to the driver subsystem. I had to wait for a merge window to use it from DT. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
50c4c4e268
commit
d1194d493c
|
@ -56,7 +56,7 @@
|
|||
&gpio {
|
||||
xirq1 {
|
||||
gpio-hog;
|
||||
gpios = <121 0>;
|
||||
gpios = <UNIPHIER_GPIO_IRQ(1) 0>;
|
||||
input;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/uniphier-gpio.h>
|
||||
|
||||
/ {
|
||||
compatible = "socionext,uniphier-ld4";
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
&gpio {
|
||||
xirq4 {
|
||||
gpio-hog;
|
||||
gpios = <124 0>;
|
||||
gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
|
||||
input;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
&gpio {
|
||||
xirq2 {
|
||||
gpio-hog;
|
||||
gpios = <122 0>;
|
||||
gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
|
||||
input;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/uniphier-gpio.h>
|
||||
|
||||
/ {
|
||||
compatible = "socionext,uniphier-pro4";
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/uniphier-gpio.h>
|
||||
#include <dt-bindings/thermal/thermal.h>
|
||||
|
||||
/ {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
&gpio {
|
||||
xirq0 {
|
||||
gpio-hog;
|
||||
gpios = <120 0>;
|
||||
gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
|
||||
input;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/uniphier-gpio.h>
|
||||
|
||||
/ {
|
||||
compatible = "socionext,uniphier-sld8";
|
||||
#address-cells = <1>;
|
||||
|
|
Loading…
Reference in New Issue