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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@
&gpio {
	xirq0 {
		gpio-hog;
		gpios = <120 0>;
		gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
		input;
	};
};
+2 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>

/memreserve/ 0x80000000 0x02000000;

@@ -100,7 +101,7 @@

	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 {
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@
&gpio {
	xirq0 {
		gpio-hog;
		gpios = <120 0>;
		gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
		input;
	};
};
+2 −1
Original line number Diff line number Diff line
@@ -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 @@

	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 {
+2 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>

/memreserve/ 0x80000000 0x02000000;

@@ -128,7 +129,7 @@

	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 {