Commit 3ef6cf00 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'berlin64-dt-for-4.5-1' of...

Merge tag 'berlin64-dt-for-4.5-1' of git://git.infradead.org/users/hesselba/linux-berlin into next/dt64

Merge "Marvell Berlin64 DT changes (round 1)" from Sebastian Hesselbarth:

- add pinctrl nodes and uart0 pinmux
- add watchdog nodes
- add PSCI-1.0 support
- add cpuidle support

* tag 'berlin64-dt-for-4.5-1' of git://git.infradead.org/users/hesselba/linux-berlin:
  arm64: dts: berlin4ct: support cpuidle-dt
  arm64: dts: berlin: PSCI-1.0 support
  arm64: dts: berlin4ct: add watchdog nodes
  arm64: dts: berlin4ct: add default pinmux for uart0
  arm64: dts: berlin4ct: add the pinctrl node
parents fc3359b9 1544f99c
...@@ -55,7 +55,7 @@ aliases { ...@@ -55,7 +55,7 @@ aliases {
}; };
psci { psci {
compatible = "arm,psci-0.2"; compatible = "arm,psci-1.0", "arm,psci-0.2";
method = "smc"; method = "smc";
}; };
...@@ -68,6 +68,7 @@ cpu0: cpu@0 { ...@@ -68,6 +68,7 @@ cpu0: cpu@0 {
device_type = "cpu"; device_type = "cpu";
reg = <0x0>; reg = <0x0>;
enable-method = "psci"; enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0>;
}; };
cpu1: cpu@1 { cpu1: cpu@1 {
...@@ -75,6 +76,7 @@ cpu1: cpu@1 { ...@@ -75,6 +76,7 @@ cpu1: cpu@1 {
device_type = "cpu"; device_type = "cpu";
reg = <0x1>; reg = <0x1>;
enable-method = "psci"; enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0>;
}; };
cpu2: cpu@2 { cpu2: cpu@2 {
...@@ -82,6 +84,7 @@ cpu2: cpu@2 { ...@@ -82,6 +84,7 @@ cpu2: cpu@2 {
device_type = "cpu"; device_type = "cpu";
reg = <0x2>; reg = <0x2>;
enable-method = "psci"; enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0>;
}; };
cpu3: cpu@3 { cpu3: cpu@3 {
...@@ -89,6 +92,19 @@ cpu3: cpu@3 { ...@@ -89,6 +92,19 @@ cpu3: cpu@3 {
device_type = "cpu"; device_type = "cpu";
reg = <0x3>; reg = <0x3>;
enable-method = "psci"; enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0>;
};
idle-states {
entry-method = "psci";
CPU_SLEEP_0: cpu-sleep-0 {
compatible = "arm,idle-state";
local-timer-stop;
arm,psci-suspend-param = <0x0010000>;
entry-latency-us = <75>;
exit-latency-us = <155>;
min-residency-us = <1000>;
};
}; };
}; };
...@@ -225,6 +241,16 @@ aic: interrupt-controller@3800 { ...@@ -225,6 +241,16 @@ aic: interrupt-controller@3800 {
}; };
}; };
soc_pinctrl: pin-controller@ea8000 {
compatible = "marvell,berlin4ct-soc-pinctrl";
reg = <0xea8000 0x14>;
};
avio_pinctrl: pin-controller@ea8400 {
compatible = "marvell,berlin4ct-avio-pinctrl";
reg = <0xea8400 0x8>;
};
apb@fc0000 { apb@fc0000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -241,6 +267,29 @@ sic: interrupt-controller@1000 { ...@@ -241,6 +267,29 @@ sic: interrupt-controller@1000 {
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
}; };
wdt0: watchdog@3000 {
compatible = "snps,dw-wdt";
reg = <0x3000 0x100>;
clocks = <&osc>;
interrupts = <0>;
};
wdt1: watchdog@4000 {
compatible = "snps,dw-wdt";
reg = <0x4000 0x100>;
clocks = <&osc>;
interrupts = <1>;
status = "disabled";
};
wdt2: watchdog@5000 {
compatible = "snps,dw-wdt";
reg = <0x5000 0x100>;
clocks = <&osc>;
interrupts = <2>;
status = "disabled";
};
sm_gpio0: gpio@8000 { sm_gpio0: gpio@8000 {
compatible = "snps,dw-apb-gpio"; compatible = "snps,dw-apb-gpio";
reg = <0x8000 0x400>; reg = <0x8000 0x400>;
...@@ -278,6 +327,18 @@ uart0: uart@d000 { ...@@ -278,6 +327,18 @@ uart0: uart@d000 {
clocks = <&osc>; clocks = <&osc>;
reg-shift = <2>; reg-shift = <2>;
status = "disabled"; status = "disabled";
pinctrl-0 = <&uart0_pmux>;
pinctrl-names = "default";
};
};
system_pinctrl: pin-controller@fe2200 {
compatible = "marvell,berlin4ct-system-pinctrl";
reg = <0xfe2200 0xc>;
uart0_pmux: uart0-pmux {
groups = "SM_URT0_TXD", "SM_URT0_RXD";
function = "uart0";
}; };
}; };
}; };
......
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