Skip to content

Commit

Permalink
arm64: dts: fvp/juno: Fix bus node names
Browse files Browse the repository at this point in the history
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.com
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
  • Loading branch information
Andre Przywara authored and Sudeep Holla committed May 18, 2020
1 parent 906e6dd commit 9d0a36d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
};

bus@8000000 {
motherboard {
motherboard-bus {
model = "V2M-P1";
arm,hbi = <0x190>;
arm,vexpress,site = <0>;
Expand Down Expand Up @@ -220,7 +220,7 @@
port1-otg;
};

iofpga@300000000 {
iofpga-bus@300000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/arm/foundation-v8.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
interrupts = <15>;
};

iofpga@300000000 {
iofpga-bus@300000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/arm/juno-base.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@
<0 0 12 &gic 0 GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
};

site2: tlx@60000000 {
site2: tlx-bus@60000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/arm/juno-motherboard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
};

bus@8000000 {
motherboard {
motherboard-bus {
compatible = "arm,vexpress,v2p-p1", "simple-bus";
#address-cells = <2>; /* SMB chipselect number and offset */
#size-cells = <1>;
Expand Down Expand Up @@ -133,7 +133,7 @@
vddvario-supply = <&mb_fixed_3v3>;
};

iofpga@300000000 {
iofpga-bus@300000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
*/
/ {
bus@8000000 {
motherboard {
motherboard-bus {
arm,v2m-memory-map = "rs2";

iofpga@300000000 {
iofpga-bus@300000000 {
virtio-p9@140000 {
compatible = "virtio,mmio";
reg = <0x140000 0x200>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
};

bus@8000000 {
motherboard {
motherboard-bus {
arm,v2m-memory-map = "rs1";
compatible = "arm,vexpress,v2m-p1", "simple-bus";
#address-cells = <2>; /* SMB chipselect number and offset */
Expand All @@ -98,7 +98,7 @@
interrupts = <15>;
};

iofpga@300000000 {
iofpga-bus@300000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
Expand Down

0 comments on commit 9d0a36d

Please sign in to comment.