Commit 0ecee767 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'ux500-dts-arm-soc' of...

Merge tag 'ux500-dts-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt

Ux500 DTS changes for the v4.20 kernel cycle.
Assorted housekeeping DTS patches.

* tag 'ux500-dts-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: dts: ux500: Mark PRCMU as syscon compatible
  arm: dts: ste: Update coresight bindings for hardware port
  ARM: dts: ste: Fix SPI controller node names
  ARM: dts: ux500: Get rid of DTC warnings
  ARM: dts: ux500: Fix LCDA clock line muxing
  dt-bindings: arm: scu: Correct example SCU unit addresses
  ARM: dts: ux500: Correct SCU unit address
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents da4cf9cd 3be9349f
...@@ -22,7 +22,7 @@ References: ...@@ -22,7 +22,7 @@ References:
Example: Example:
scu@a04100000 { scu@a0410000 {
compatible = "arm,cortex-a9-scu"; compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>; reg = <0xa0410000 0x100>;
}; };
...@@ -60,7 +60,7 @@ Example: ...@@ -60,7 +60,7 @@ Example:
<0xa0410100 0x100>; <0xa0410100 0x100>;
}; };
scu@a04100000 { scu@a0410000 {
compatible = "arm,cortex-a9-scu"; compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>; reg = <0xa0410000 0x100>;
}; };
......
...@@ -15,9 +15,14 @@ ...@@ -15,9 +15,14 @@
#include <dt-bindings/arm/ux500_pm_domains.h> #include <dt-bindings/arm/ux500_pm_domains.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/ste-ab8500.h> #include <dt-bindings/clock/ste-ab8500.h>
#include "skeleton.dtsi"
/ { / {
#address-cells = <1>;
#size-cells = <1>;
chosen {
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -67,9 +72,11 @@ ptm@801ae000 { ...@@ -67,9 +72,11 @@ ptm@801ae000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
cpu = <&CPU0>; cpu = <&CPU0>;
port { out-ports {
ptm0_out_port: endpoint { port {
remote-endpoint = <&funnel_in_port0>; ptm0_out_port: endpoint {
remote-endpoint = <&funnel_in_port0>;
};
}; };
}; };
}; };
...@@ -81,9 +88,11 @@ ptm@801af000 { ...@@ -81,9 +88,11 @@ ptm@801af000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
cpu = <&CPU1>; cpu = <&CPU1>;
port { out-ports {
ptm1_out_port: endpoint { port {
remote-endpoint = <&funnel_in_port1>; ptm1_out_port: endpoint {
remote-endpoint = <&funnel_in_port1>;
};
}; };
}; };
}; };
...@@ -94,32 +103,29 @@ funnel@801a6000 { ...@@ -94,32 +103,29 @@ funnel@801a6000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
ports { out-ports {
#address-cells = <1>; port {
#size-cells = <0>;
/* funnel output ports */
port@0 {
reg = <0>;
funnel_out_port: endpoint { funnel_out_port: endpoint {
remote-endpoint = remote-endpoint =
<&replicator_in_port0>; <&replicator_in_port0>;
}; };
}; };
};
/* funnel input ports */ in-ports {
port@1 { #address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; reg = <0>;
funnel_in_port0: endpoint { funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&ptm0_out_port>; remote-endpoint = <&ptm0_out_port>;
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
funnel_in_port1: endpoint { funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&ptm1_out_port>; remote-endpoint = <&ptm1_out_port>;
}; };
}; };
...@@ -131,11 +137,10 @@ replicator { ...@@ -131,11 +137,10 @@ replicator {
clocks = <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "atclk"; clock-names = "atclk";
ports { out-ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
/* replicator output ports */
port@0 { port@0 {
reg = <0>; reg = <0>;
replicator_out_port0: endpoint { replicator_out_port0: endpoint {
...@@ -148,12 +153,11 @@ replicator_out_port1: endpoint { ...@@ -148,12 +153,11 @@ replicator_out_port1: endpoint {
remote-endpoint = <&etb_in_port>; remote-endpoint = <&etb_in_port>;
}; };
}; };
};
/* replicator input port */ in-ports {
port@2 { port {
reg = <0>;
replicator_in_port0: endpoint { replicator_in_port0: endpoint {
slave-mode;
remote-endpoint = <&funnel_out_port>; remote-endpoint = <&funnel_out_port>;
}; };
}; };
...@@ -166,10 +170,11 @@ tpiu@80190000 { ...@@ -166,10 +170,11 @@ tpiu@80190000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
port { in-ports {
tpiu_in_port: endpoint { port {
slave-mode; tpiu_in_port: endpoint {
remote-endpoint = <&replicator_out_port0>; remote-endpoint = <&replicator_out_port0>;
};
}; };
}; };
}; };
...@@ -180,10 +185,11 @@ etb@801a4000 { ...@@ -180,10 +185,11 @@ etb@801a4000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
port { in-ports {
etb_in_port: endpoint { port {
slave-mode; etb_in_port: endpoint {
remote-endpoint = <&replicator_out_port1>; remote-endpoint = <&replicator_out_port1>;
};
}; };
}; };
}; };
...@@ -197,7 +203,7 @@ intc: interrupt-controller@a0411000 { ...@@ -197,7 +203,7 @@ intc: interrupt-controller@a0411000 {
<0xa0410100 0x100>; <0xa0410100 0x100>;
}; };
scu@a04100000 { scu@a0410000 {
compatible = "arm,cortex-a9-scu"; compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>; reg = <0xa0410000 0x100>;
}; };
...@@ -487,7 +493,7 @@ dma: dma-controller@801C0000 { ...@@ -487,7 +493,7 @@ dma: dma-controller@801C0000 {
}; };
prcmu: prcmu@80157000 { prcmu: prcmu@80157000 {
compatible = "stericsson,db8500-prcmu"; compatible = "stericsson,db8500-prcmu", "syscon";
reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>;
reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
...@@ -878,7 +884,7 @@ i2c@8012a000 { ...@@ -878,7 +884,7 @@ i2c@8012a000 {
power-domains = <&pm_domains DOMAIN_VAPE>; power-domains = <&pm_domains DOMAIN_VAPE>;
}; };
ssp@80002000 { spi@80002000 {
compatible = "arm,pl022", "arm,primecell"; compatible = "arm,pl022", "arm,primecell";
reg = <0x80002000 0x1000>; reg = <0x80002000 0x1000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
...@@ -892,7 +898,7 @@ ssp@80002000 { ...@@ -892,7 +898,7 @@ ssp@80002000 {
power-domains = <&pm_domains DOMAIN_VAPE>; power-domains = <&pm_domains DOMAIN_VAPE>;
}; };
ssp@80003000 { spi@80003000 {
compatible = "arm,pl022", "arm,primecell"; compatible = "arm,pl022", "arm,primecell";
reg = <0x80003000 0x1000>; reg = <0x80003000 0x1000>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -607,16 +607,20 @@ sleep_cfg3 { ...@@ -607,16 +607,20 @@ sleep_cfg3 {
mcde { mcde {
lcd_default_mode: lcd_default { lcd_default_mode: lcd_default {
default_mux { default_mux1 {
/* Mux in VSI0 and all the data lines */ /* Mux in VSI0 and all the data lines */
function = "lcd"; function = "lcd";
groups = groups =
"lcdvsi0_a_1", /* VSI0 for LCD */ "lcdvsi0_a_1", /* VSI0 for LCD */
"lcd_d0_d7_a_1", /* Data lines */ "lcd_d0_d7_a_1", /* Data lines */
"lcd_d8_d11_a_1", /* TV-out */ "lcd_d8_d11_a_1", /* TV-out */
"lcdaclk_b_1", /* Clock line for TV-out */
"lcdvsi1_a_1"; /* VSI1 for HDMI */ "lcdvsi1_a_1"; /* VSI1 for HDMI */
}; };
default_mux2 {
function = "lcda";
groups =
"lcdaclk_b_1"; /* Clock line for TV-out */
};
default_cfg1 { default_cfg1 {
pins = pins =
"GPIO68_E1", /* VSI0 */ "GPIO68_E1", /* VSI0 */
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
/ { / {
memory { memory {
device_type = "memory";
reg = <0x00000000 0x20000000>; reg = <0x00000000 0x20000000>;
}; };
......
...@@ -57,7 +57,7 @@ tc3589x_gpio: tc3589x_gpio { ...@@ -57,7 +57,7 @@ tc3589x_gpio: tc3589x_gpio {
}; };
}; };
ssp@80002000 { spi@80002000 {
/* /*
* On the first generation boards, this SSP/SPI port was connected * On the first generation boards, this SSP/SPI port was connected
* to the AB8500. * to the AB8500.
......
...@@ -26,6 +26,7 @@ aliases { ...@@ -26,6 +26,7 @@ aliases {
}; };
memory { memory {
device_type = "memory";
reg = <0x00000000 0x20000000>; reg = <0x00000000 0x20000000>;
}; };
...@@ -376,7 +377,7 @@ i2c@80110000 { ...@@ -376,7 +377,7 @@ i2c@80110000 {
pinctrl-1 = <&i2c3_sleep_mode>; pinctrl-1 = <&i2c3_sleep_mode>;
}; };
ssp@80002000 { spi@80002000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ssp0_snowball_mode>; pinctrl-0 = <&ssp0_snowball_mode>;
}; };
......
...@@ -442,7 +442,7 @@ mmcsd: mmcsd@c0001000 { ...@@ -442,7 +442,7 @@ mmcsd: mmcsd@c0001000 {
dma-names = "rx"; dma-names = "rx";
}; };
spi: ssp@c0006000 { spi: spi@c0006000 {
compatible = "arm,pl022", "arm,primecell"; compatible = "arm,pl022", "arm,primecell";
reg = <0xc0006000 0x1000>; reg = <0xc0006000 0x1000>;
interrupt-parent = <&vica>; interrupt-parent = <&vica>;
......
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