mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 10:35:32 +07:00
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: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
50c4c4e268
commit
8311ca57ef
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user