Ux500 DTS changes for the v4.20 kernel cycle.

Assorted housekeeping DTS patches.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJbpBoaAAoJEEEQszewGV1zeJsP/3C/QcyadiSsz573IhFZJKSk
 ieUwF4sua7qvD8i9CaTP8RvdFTDVFdFVMvt7TkiUSGFhFXYmH0IhvZ7vtRFEbQpo
 h45ubQEpftJN8lDYLArCjiR9zSgYLvX1dE8adwwxyiHC6cR/RaM26Jt6dDTgygVo
 RqRJCen60y+71s4s9WYrhhn2Q/CtEr0vOLyYmG6D494kUFPOCMthOarysLhsM/cB
 HkKOAY41gHZEQ6S9CEK8JaVerLcAmcZk+WTboxHlwWbTitwVFhRrOGgkLJ5QeBYc
 JZAZcjpc3ZQUJwhSrFUBrubby/9NMnpIRRkLEPGLB96vGSQXs2DE3Hq/v1s6NKhg
 BXIKQ/HL1G57TM4qj/vD1M8MyU/0p36vjuCIDbMuf50nkl9MR+ZWWMbi5+ncwTg+
 yA3GgDAbBpLhTgb2gukf9FFEoISYFDiSFZ1zRk89IBD9b51ZpHIvBqgp8o8zebRF
 awS2utw4TjIHkLRUSiE4CoXT2eiIVCscNcSS8jzTbwZ7TuXjGn1rF6Jdn8vZ5qw2
 b//nrCjNkzMY3Gub3jYOOFjRp/4LVBYPs4ppZ5ndHNa+XidMePETkmPOqEAdDin6
 VLqEFEfdzAceUXBWgwRaWXp1wUMNdLto9cwScdsg7xJswSpEbalRmgrz+7/lVCkA
 KnMnQ8JiU2D93GM9X4BW
 =iMxD
 -----END PGP SIGNATURE-----

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: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2018-09-23 06:33:56 -07:00
commit 0ecee767ce
8 changed files with 56 additions and 44 deletions

View File

@ -22,7 +22,7 @@ References:
Example:
scu@a04100000 {
scu@a0410000 {
compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>;
};

View File

@ -60,7 +60,7 @@ Example:
<0xa0410100 0x100>;
};
scu@a04100000 {
scu@a0410000 {
compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>;
};

View File

@ -15,9 +15,14 @@
#include <dt-bindings/arm/ux500_pm_domains.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/ste-ab8500.h>
#include "skeleton.dtsi"
/ {
#address-cells = <1>;
#size-cells = <1>;
chosen {
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
@ -67,9 +72,11 @@ ptm@801ae000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk";
cpu = <&CPU0>;
port {
ptm0_out_port: endpoint {
remote-endpoint = <&funnel_in_port0>;
out-ports {
port {
ptm0_out_port: endpoint {
remote-endpoint = <&funnel_in_port0>;
};
};
};
};
@ -81,9 +88,11 @@ ptm@801af000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk";
cpu = <&CPU1>;
port {
ptm1_out_port: endpoint {
remote-endpoint = <&funnel_in_port1>;
out-ports {
port {
ptm1_out_port: endpoint {
remote-endpoint = <&funnel_in_port1>;
};
};
};
};
@ -94,32 +103,29 @@ funnel@801a6000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk";
ports {
#address-cells = <1>;
#size-cells = <0>;
/* funnel output ports */
port@0 {
reg = <0>;
out-ports {
port {
funnel_out_port: endpoint {
remote-endpoint =
<&replicator_in_port0>;
};
};
};
/* funnel input ports */
port@1 {
in-ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&ptm0_out_port>;
};
};
port@2 {
port@1 {
reg = <1>;
funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&ptm1_out_port>;
};
};
@ -131,11 +137,10 @@ replicator {
clocks = <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "atclk";
ports {
out-ports {
#address-cells = <1>;
#size-cells = <0>;
/* replicator output ports */
port@0 {
reg = <0>;
replicator_out_port0: endpoint {
@ -148,12 +153,11 @@ replicator_out_port1: endpoint {
remote-endpoint = <&etb_in_port>;
};
};
};
/* replicator input port */
port@2 {
reg = <0>;
in-ports {
port {
replicator_in_port0: endpoint {
slave-mode;
remote-endpoint = <&funnel_out_port>;
};
};
@ -166,10 +170,11 @@ tpiu@80190000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk";
port {
tpiu_in_port: endpoint {
slave-mode;
remote-endpoint = <&replicator_out_port0>;
in-ports {
port {
tpiu_in_port: endpoint {
remote-endpoint = <&replicator_out_port0>;
};
};
};
};
@ -180,10 +185,11 @@ etb@801a4000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk";
port {
etb_in_port: endpoint {
slave-mode;
remote-endpoint = <&replicator_out_port1>;
in-ports {
port {
etb_in_port: endpoint {
remote-endpoint = <&replicator_out_port1>;
};
};
};
};
@ -197,7 +203,7 @@ intc: interrupt-controller@a0411000 {
<0xa0410100 0x100>;
};
scu@a04100000 {
scu@a0410000 {
compatible = "arm,cortex-a9-scu";
reg = <0xa0410000 0x100>;
};
@ -487,7 +493,7 @@ dma: dma-controller@801C0000 {
};
prcmu: prcmu@80157000 {
compatible = "stericsson,db8500-prcmu";
compatible = "stericsson,db8500-prcmu", "syscon";
reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>;
reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
@ -878,7 +884,7 @@ i2c@8012a000 {
power-domains = <&pm_domains DOMAIN_VAPE>;
};
ssp@80002000 {
spi@80002000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x80002000 0x1000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
@ -892,7 +898,7 @@ ssp@80002000 {
power-domains = <&pm_domains DOMAIN_VAPE>;
};
ssp@80003000 {
spi@80003000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x80003000 0x1000>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;

View File

@ -607,16 +607,20 @@ sleep_cfg3 {
mcde {
lcd_default_mode: lcd_default {
default_mux {
default_mux1 {
/* Mux in VSI0 and all the data lines */
function = "lcd";
groups =
"lcdvsi0_a_1", /* VSI0 for LCD */
"lcd_d0_d7_a_1", /* Data lines */
"lcd_d8_d11_a_1", /* TV-out */
"lcdaclk_b_1", /* Clock line for TV-out */
"lcdvsi1_a_1"; /* VSI1 for HDMI */
};
default_mux2 {
function = "lcda";
groups =
"lcdaclk_b_1"; /* Clock line for TV-out */
};
default_cfg1 {
pins =
"GPIO68_E1", /* VSI0 */

View File

@ -15,6 +15,7 @@
/ {
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};

View File

@ -57,7 +57,7 @@ tc3589x_gpio: tc3589x_gpio {
};
};
ssp@80002000 {
spi@80002000 {
/*
* On the first generation boards, this SSP/SPI port was connected
* to the AB8500.

View File

@ -26,6 +26,7 @@ aliases {
};
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
@ -376,7 +377,7 @@ i2c@80110000 {
pinctrl-1 = <&i2c3_sleep_mode>;
};
ssp@80002000 {
spi@80002000 {
pinctrl-names = "default";
pinctrl-0 = <&ssp0_snowball_mode>;
};

View File

@ -442,7 +442,7 @@ mmcsd: mmcsd@c0001000 {
dma-names = "rx";
};
spi: ssp@c0006000 {
spi: spi@c0006000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0xc0006000 0x1000>;
interrupt-parent = <&vica>;