Commit 9d0a36dd authored by Andre Przywara's avatar Andre Przywara Committed by Sudeep Holla

arm64: dts: fvp/juno: Fix bus node names

Most Arm Ltd. boards are employing a layered bus structure, to map
the hardware design (SoC, motherboard, IOFPGA) and structure the DTs.

The "simple-bus" nodes only allow a limited set of node names. Switch
to use *-bus to be binding compliant.

This relies on a pending dt-schema.git fix for now:
https://github.com/devicetree-org/dt-schema/pull/38

Link: https://lore.kernel.org/r/20200513103016.130417-16-andre.przywara@arm.comSigned-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 906e6dd4
...@@ -174,7 +174,7 @@ dvimode { ...@@ -174,7 +174,7 @@ dvimode {
}; };
bus@8000000 { bus@8000000 {
motherboard { motherboard-bus {
model = "V2M-P1"; model = "V2M-P1";
arm,hbi = <0x190>; arm,hbi = <0x190>;
arm,vexpress,site = <0>; arm,vexpress,site = <0>;
...@@ -220,7 +220,7 @@ usb@203000000 { ...@@ -220,7 +220,7 @@ usb@203000000 {
port1-otg; port1-otg;
}; };
iofpga@300000000 { iofpga-bus@300000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -178,7 +178,7 @@ ethernet@202000000 { ...@@ -178,7 +178,7 @@ ethernet@202000000 {
interrupts = <15>; interrupts = <15>;
}; };
iofpga@300000000 { iofpga-bus@300000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -828,7 +828,7 @@ bus@8000000 { ...@@ -828,7 +828,7 @@ bus@8000000 {
<0 0 12 &gic 0 GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; <0 0 12 &gic 0 GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
}; };
site2: tlx@60000000 { site2: tlx-bus@60000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -92,7 +92,7 @@ nmi-button { ...@@ -92,7 +92,7 @@ nmi-button {
}; };
bus@8000000 { bus@8000000 {
motherboard { motherboard-bus {
compatible = "arm,vexpress,v2p-p1", "simple-bus"; compatible = "arm,vexpress,v2p-p1", "simple-bus";
#address-cells = <2>; /* SMB chipselect number and offset */ #address-cells = <2>; /* SMB chipselect number and offset */
#size-cells = <1>; #size-cells = <1>;
...@@ -133,7 +133,7 @@ ethernet@200000000 { ...@@ -133,7 +133,7 @@ ethernet@200000000 {
vddvario-supply = <&mb_fixed_3v3>; vddvario-supply = <&mb_fixed_3v3>;
}; };
iofpga@300000000 { iofpga-bus@300000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
*/ */
/ { / {
bus@8000000 { bus@8000000 {
motherboard { motherboard-bus {
arm,v2m-memory-map = "rs2"; arm,v2m-memory-map = "rs2";
iofpga@300000000 { iofpga-bus@300000000 {
virtio-p9@140000 { virtio-p9@140000 {
compatible = "virtio,mmio"; compatible = "virtio,mmio";
reg = <0x140000 0x200>; reg = <0x140000 0x200>;
......
...@@ -77,7 +77,7 @@ dvimode { ...@@ -77,7 +77,7 @@ dvimode {
}; };
bus@8000000 { bus@8000000 {
motherboard { motherboard-bus {
arm,v2m-memory-map = "rs1"; arm,v2m-memory-map = "rs1";
compatible = "arm,vexpress,v2m-p1", "simple-bus"; compatible = "arm,vexpress,v2m-p1", "simple-bus";
#address-cells = <2>; /* SMB chipselect number and offset */ #address-cells = <2>; /* SMB chipselect number and offset */
...@@ -98,7 +98,7 @@ ethernet@202000000 { ...@@ -98,7 +98,7 @@ ethernet@202000000 {
interrupts = <15>; interrupts = <15>;
}; };
iofpga@300000000 { iofpga-bus@300000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
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