Commit b357e884 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'uniphier-dt64-v4.16' of...

Merge tag 'uniphier-dt64-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt

UniPhier ARM64 SoC DT updates for v4.16

- clean up gpios properties by macro
- add GPIO hog for PXs3 reference node
- add has-transaction-translator property to generic-ehci nodes
- enable more serial ports for PXs3 reference node

* tag 'uniphier-dt64-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  arm64: dts: uniphier: enable more serial ports for PXs3 ref board
  arm64: dts: uniphier: add has-transaction-translator property to usb node for LD11
  arm64: dts: uniphier: add GPIO hog definition for PXs3
  arm64: dts: uniphier: use macros in dt-bindings header
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents bed1f7d1 dbdae847
...@@ -50,7 +50,7 @@ &serial0 { ...@@ -50,7 +50,7 @@ &serial0 {
&gpio { &gpio {
xirq0 { xirq0 {
gpio-hog; gpio-hog;
gpios = <120 0>; gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input; input;
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -100,7 +101,7 @@ refclk: ref { ...@@ -100,7 +101,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
}; };
timer { timer {
...@@ -347,6 +348,7 @@ usb0: usb@5a800100 { ...@@ -347,6 +348,7 @@ usb0: usb@5a800100 {
<&mio_clk 12>; <&mio_clk 12>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
<&mio_rst 12>; <&mio_rst 12>;
has-transaction-translator;
}; };
usb1: usb@5a810100 { usb1: usb@5a810100 {
...@@ -360,6 +362,7 @@ usb1: usb@5a810100 { ...@@ -360,6 +362,7 @@ usb1: usb@5a810100 {
<&mio_clk 13>; <&mio_clk 13>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
<&mio_rst 13>; <&mio_rst 13>;
has-transaction-translator;
}; };
usb2: usb@5a820100 { usb2: usb@5a820100 {
...@@ -373,6 +376,7 @@ usb2: usb@5a820100 { ...@@ -373,6 +376,7 @@ usb2: usb@5a820100 {
<&mio_clk 14>; <&mio_clk 14>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
<&mio_rst 14>; <&mio_rst 14>;
has-transaction-translator;
}; };
mioctrl@5b3e0000 { mioctrl@5b3e0000 {
......
...@@ -50,7 +50,7 @@ &serial0 { ...@@ -50,7 +50,7 @@ &serial0 {
&gpio { &gpio {
xirq0 { xirq0 {
gpio-hog; gpio-hog;
gpios = <120 0>; gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input; input;
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -172,7 +173,7 @@ refclk: ref { ...@@ -172,7 +173,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
}; };
timer { timer {
......
...@@ -45,6 +45,22 @@ &serial0 { ...@@ -45,6 +45,22 @@ &serial0 {
status = "okay"; status = "okay";
}; };
&serial2 {
status = "okay";
};
&serial3 {
status = "okay";
};
&gpio {
xirq4 {
gpio-hog;
gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
input;
};
};
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -128,7 +129,7 @@ refclk: ref { ...@@ -128,7 +129,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 47 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(5, 7) GPIO_ACTIVE_LOW>;
}; };
timer { 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