Commit 8311ca57 authored by Masahiro Yamada's avatar Masahiro Yamada

arm64: 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 50c4c4e2
......@@ -50,7 +50,7 @@ &serial0 {
&gpio {
xirq0 {
gpio-hog;
gpios = <120 0>;
gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input;
};
};
......
......@@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000;
......@@ -100,7 +101,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
};
timer {
......
......@@ -50,7 +50,7 @@ &serial0 {
&gpio {
xirq0 {
gpio-hog;
gpios = <120 0>;
gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input;
};
};
......
......@@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h>
/memreserve/ 0x80000000 0x02000000;
......@@ -172,7 +173,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
};
timer {
......
......@@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000;
......@@ -128,7 +129,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(5, 7) GPIO_ACTIVE_LOW>;
};
timer {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment