Commit 0dfc6294 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'pxa-dt-4.20' of https://github.com/rjarzmik/linux into next/dt

This device-tree pxa update brings :
 - a couple of changes for future pxa2xx platforms
  - 2 fixes in RTC and I2C domain

* tag 'pxa-dt-4.20' of https://github.com/rjarzmik/linux:
  ARM: dts: pxa: add pincontrol helpers
  ARM: dts: pxa: fix power i2c base address
  ARM: dts: pxa: fix the rtc controller
  ARM: dts: pxa: change serial node names
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 4bef2317 9f296fe2
...@@ -80,6 +80,10 @@ pwm1: pwm@40b00010 { ...@@ -80,6 +80,10 @@ pwm1: pwm@40b00010 {
#pwm-cells = <1>; #pwm-cells = <1>;
clocks = <&clks CLK_PWM1>; clocks = <&clks CLK_PWM1>;
}; };
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
}; };
timer@40a00000 { timer@40a00000 {
......
...@@ -71,7 +71,7 @@ pwm3: pwm@40c00010 { ...@@ -71,7 +71,7 @@ pwm3: pwm@40c00010 {
clocks = <&clks CLK_PWM1>; clocks = <&clks CLK_PWM1>;
}; };
pwri2c: i2c@40f000180 { pwri2c: i2c@40f00180 {
compatible = "mrvl,pxa-i2c"; compatible = "mrvl,pxa-i2c";
reg = <0x40f00180 0x24>; reg = <0x40f00180 0x24>;
interrupts = <6>; interrupts = <6>;
...@@ -113,6 +113,10 @@ &pdma 69 0 /* U channel */ ...@@ -113,6 +113,10 @@ &pdma 69 0 /* U channel */
status = "disabled"; status = "disabled";
}; };
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
}; };
clocks { clocks {
......
...@@ -9,6 +9,25 @@ ...@@ -9,6 +9,25 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include "dt-bindings/clock/pxa-clock.h" #include "dt-bindings/clock/pxa-clock.h"
#define PMGROUP(pin) #pin
#define PMMUX(func, pin, af) \
mux- ## func { \
groups = PMGROUP(P ## pin); \
function = #af; \
}
#define PMMUX_LPM_LOW(func, pin, af) \
mux- ## func { \
groups = PMGROUP(P ## pin); \
function = #af; \
low-power-disable; \
}
#define PMMUX_LPM_HIGH(func, pin, af) \
mux- ## func { \
groups = PMGROUP(P ## pin); \
function = #af; \
low-power-enable; \
}
/ { / {
model = "Marvell PXA2xx family SoC"; model = "Marvell PXA2xx family SoC";
compatible = "marvell,pxa2xx"; compatible = "marvell,pxa2xx";
...@@ -76,7 +95,7 @@ gcb3: gpio@40e0000c { ...@@ -76,7 +95,7 @@ gcb3: gpio@40e0000c {
}; };
}; };
ffuart: uart@40100000 { ffuart: serial@40100000 {
compatible = "mrvl,pxa-uart"; compatible = "mrvl,pxa-uart";
reg = <0x40100000 0x30>; reg = <0x40100000 0x30>;
interrupts = <22>; interrupts = <22>;
...@@ -84,7 +103,7 @@ ffuart: uart@40100000 { ...@@ -84,7 +103,7 @@ ffuart: uart@40100000 {
status = "disabled"; status = "disabled";
}; };
btuart: uart@40200000 { btuart: serial@40200000 {
compatible = "mrvl,pxa-uart"; compatible = "mrvl,pxa-uart";
reg = <0x40200000 0x30>; reg = <0x40200000 0x30>;
interrupts = <21>; interrupts = <21>;
...@@ -92,7 +111,7 @@ btuart: uart@40200000 { ...@@ -92,7 +111,7 @@ btuart: uart@40200000 {
status = "disabled"; status = "disabled";
}; };
stuart: uart@40700000 { stuart: serial@40700000 {
compatible = "mrvl,pxa-uart"; compatible = "mrvl,pxa-uart";
reg = <0x40700000 0x30>; reg = <0x40700000 0x30>;
interrupts = <20>; interrupts = <20>;
...@@ -100,7 +119,7 @@ stuart: uart@40700000 { ...@@ -100,7 +119,7 @@ stuart: uart@40700000 {
status = "disabled"; status = "disabled";
}; };
hwuart: uart@41100000 { hwuart: serial@41100000 {
compatible = "mrvl,pxa-uart"; compatible = "mrvl,pxa-uart";
reg = <0x41100000 0x30>; reg = <0x41100000 0x30>;
interrupts = <7>; interrupts = <7>;
......
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