ARMv7 Vexpress updates/cleanups for v4.18

1. Syntactic restructuring of motherboard include file so that it can be
    included at the top of any other DTS file as it should be rather than
    existing include in the middle of the file at a specific location
 
 2. Use of standard GPIO controller bindings for few sysreg components
    like LED, MMC Write Protect/Card Detect and Flash Write Protect
    to fix some of the new DTC warnings
 
 3. Cleanup to replace all underscores('_') with hyphens('-') in the
    device node names
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABCAAGBQJa+apxAAoJEABBurwxfuKYgUIP/j+e5K4bm7GBtXezKyMmdsdK
 J4dcfk/9ti2LOVqNveRy5N8Z1aeNd+QtXh/DFhCIdov1sjvjqWMV8Vw0K1PsziSB
 aSQoFyscx0OQ0JKtFJVQdjOnHvCNSXQXz/XZC89AARLMHHxPdckfF7okQFzO22Xo
 hk+cm+ith3cifnUxIt+JAZLg2xzU5/2+TfquGGDnP5wzJTxyX6B06bTOdZUNMzu3
 zhVUIRwh/FVwPpsaDlWCjz2m1jeUq8TR9DUvlCTxzQ0yfPcMQb3dIvdxF7sVjrjc
 m6xFkdgJJUCyFQ+Xtwp6cVHUpQJLmM0G3eKuIH6KfFAy1Sbfdyy/2LyH8OFgSe8C
 eHgedg8ibcdHwXcjNhCj4uAd3tUZwUSwmwBPAICRHBK4zY35u+WFkmtvyjt+c5Bb
 EvRNBDsi9/8zZEpBoAExmHvi7sLCxWdcOYLkWUbosgsHByToIbn0t6T0LtlN5mkF
 ygFZUxTbdeiwN0yxkJ0qLAXs1L+dROMtz1YN54981vJmW/7/5mkpRvg/W4Zi0Fdx
 EQu3FGUVx+p63olCCaCaXN9AydGNLbWv0w5qh6zcJEeUMIZ61v/k3npwZ8RjfUcH
 nVBDBxfLbZqfscGUdcFOk1ul8Z8t40LTSeWmc7hYvv3rjXzrmpRtTibaT2H2DgaN
 HtM3dD5I/rEdCv7lTxsb
 =X3Vc
 -----END PGP SIGNATURE-----

Merge tag 'vexpress-updates-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/dt

ARMv7 Vexpress updates/cleanups for v4.18

1. Syntactic restructuring of motherboard include file so that it can be
   included at the top of any other DTS file as it should be rather than
   existing include in the middle of the file at a specific location

2. Use of standard GPIO controller bindings for few sysreg components
   like LED, MMC Write Protect/Card Detect and Flash Write Protect
   to fix some of the new DTC warnings

3. Cleanup to replace all underscores('_') with hyphens('-') in the
   device node names

* tag 'vexpress-updates-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  ARM: dts: vexpress: replace '_' with '-' in node names
  ARM: dts: vexpress: use standard gpio bindings for sys_{led,mci,flash}
  ARM: dts: vexpress: Restructure motherboard includes

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2018-05-15 13:46:21 -07:00
commit 23fe7cb6d8
7 changed files with 798 additions and 783 deletions

View File

@ -17,6 +17,8 @@
* CHANGES TO vexpress-v2m.dtsi! * CHANGES TO vexpress-v2m.dtsi!
*/ */
/ {
smb@8000000 {
motherboard { motherboard {
model = "V2M-P1"; model = "V2M-P1";
arm,hbi = <0x190>; arm,hbi = <0x190>;
@ -74,21 +76,27 @@ iofpga@3,00000000 {
v2m_sysreg: sysreg@10000 { v2m_sysreg: sysreg@10000 {
compatible = "arm,vexpress-sysreg"; compatible = "arm,vexpress-sysreg";
reg = <0x010000 0x1000>; reg = <0x010000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x10000 0x1000>;
v2m_led_gpios: sys_led { v2m_led_gpios: gpio@8 {
compatible = "arm,vexpress-sysreg,sys_led"; compatible = "arm,vexpress-sysreg,sys_led";
reg = <0x008 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
v2m_mmc_gpios: sys_mci { v2m_mmc_gpios: gpio@48 {
compatible = "arm,vexpress-sysreg,sys_mci"; compatible = "arm,vexpress-sysreg,sys_mci";
reg = <0x048 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
v2m_flash_gpios: sys_flash { v2m_flash_gpios: gpio@4c {
compatible = "arm,vexpress-sysreg,sys_flash"; compatible = "arm,vexpress-sysreg,sys_flash";
reg = <0x04c 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
@ -440,3 +448,5 @@ dvimode {
}; };
}; };
}; };
};
};

View File

@ -18,6 +18,8 @@
* CHANGES TO vexpress-v2m-rs1.dtsi! * CHANGES TO vexpress-v2m-rs1.dtsi!
*/ */
/ {
smb@4000000 {
motherboard { motherboard {
model = "V2M-P1"; model = "V2M-P1";
arm,hbi = <0x190>; arm,hbi = <0x190>;
@ -74,21 +76,27 @@ iofpga@7,00000000 {
v2m_sysreg: sysreg@0 { v2m_sysreg: sysreg@0 {
compatible = "arm,vexpress-sysreg"; compatible = "arm,vexpress-sysreg";
reg = <0x00000 0x1000>; reg = <0x00000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0 0x1000>;
v2m_led_gpios: sys_led { v2m_led_gpios: gpio@8 {
compatible = "arm,vexpress-sysreg,sys_led"; compatible = "arm,vexpress-sysreg,sys_led";
reg = <0x008 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
v2m_mmc_gpios: sys_mci { v2m_mmc_gpios: gpio@48 {
compatible = "arm,vexpress-sysreg,sys_mci"; compatible = "arm,vexpress-sysreg,sys_mci";
reg = <0x048 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
v2m_flash_gpios: sys_flash { v2m_flash_gpios: gpio@4c {
compatible = "arm,vexpress-sysreg,sys_flash"; compatible = "arm,vexpress-sysreg,sys_flash";
reg = <0x04c 4>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
@ -440,3 +448,5 @@ dvimode {
}; };
}; };
}; };
};
};

View File

@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ { / {
model = "V2P-CA15"; model = "V2P-CA15";
@ -278,8 +279,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>, <0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>, <0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>; <0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
}; };
site2: hsb@40000000 { site2: hsb@40000000 {

View File

@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ { / {
model = "V2P-CA15_CA7"; model = "V2P-CA15_CA7";
@ -203,7 +204,7 @@ timer {
<1 10 0xf08>; <1 10 0xf08>;
}; };
pmu_a15 { pmu-a15 {
compatible = "arm,cortex-a15-pmu"; compatible = "arm,cortex-a15-pmu";
interrupts = <0 68 4>, interrupts = <0 68 4>,
<0 69 4>; <0 69 4>;
@ -211,7 +212,7 @@ pmu_a15 {
<&cpu1>; <&cpu1>;
}; };
pmu_a7 { pmu-a7 {
compatible = "arm,cortex-a7-pmu"; compatible = "arm,cortex-a7-pmu";
interrupts = <0 128 4>, interrupts = <0 128 4>,
<0 129 4>, <0 129 4>,
@ -584,7 +585,7 @@ etm2_out_port: endpoint {
}; };
}; };
smb@8000000 { smb: smb@8000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
@ -641,8 +642,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>, <0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>, <0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>; <0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
}; };
site2: hsb@40000000 { site2: hsb@40000000 {

View File

@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "vexpress-v2m-rs1.dtsi"
/ { / {
model = "V2P-CA5s"; model = "V2P-CA5s";
@ -191,7 +192,7 @@ temp-dcc {
}; };
}; };
smb@8000000 { smb: smb@8000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
@ -248,8 +249,6 @@ smb@8000000 {
<0 0 40 &gic 0 40 4>, <0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>, <0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>; <0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m-rs1.dtsi"
}; };
site2: hsb@40000000 { site2: hsb@40000000 {

View File

@ -9,6 +9,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include "vexpress-v2m.dtsi"
/ { / {
model = "V2P-CA9"; model = "V2P-CA9";
@ -301,7 +302,7 @@ power-vd10-s3 {
}; };
}; };
smb@4000000 { smb: smb@4000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
@ -357,8 +358,6 @@ smb@4000000 {
<0 0 40 &gic 0 40 4>, <0 0 40 &gic 0 40 4>,
<0 0 41 &gic 0 41 4>, <0 0 41 &gic 0 41 4>,
<0 0 42 &gic 0 42 4>; <0 0 42 &gic 0 42 4>;
/include/ "vexpress-v2m.dtsi"
}; };
site2: hsb@e0000000 { site2: hsb@e0000000 {

View File

@ -13,6 +13,7 @@
/dts-v1/; /dts-v1/;
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include "vexpress-v2m-rs1.dtsi"
/ { / {
model = "V2F-1XV7 Cortex-A53x2 SMM"; model = "V2F-1XV7 Cortex-A53x2 SMM";
@ -129,7 +130,7 @@ temp-fpga {
}; };
}; };
smb@8000000 { smb: smb@8000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
@ -186,7 +187,5 @@ smb@8000000 {
<0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, <0 0 40 &gic GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
<0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, <0 0 41 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
<0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
/include/ "vexpress-v2m-rs1.dtsi"
}; };
}; };