diff options
author | Amitay Isaacs <amitay@ozlabs.org> | 2018-05-24 15:50:10 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-05-24 21:19:34 +1000 |
commit | e6c258283f8d141ff2ab63ae7436386d6df5f0e0 (patch) | |
tree | 50ff1bcb77fd40b26785a051a8bb2901b05adae2 | |
parent | 517e99b38ce2ad70ef90b6c5974c97522d1a42ef (diff) | |
download | pdbg-e6c258283f8d141ff2ab63ae7436386d6df5f0e0.tar.gz pdbg-e6c258283f8d141ff2ab63ae7436386d6df5f0e0.zip |
dt: Add missing #address-cells, #size-cells and reg properties
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
-rw-r--r-- | p8-fsi.dts.m4 | 2 | ||||
-rw-r--r-- | p8-host.dts.m4 | 2 | ||||
-rw-r--r-- | p8-i2c.dts.m4 | 2 | ||||
-rw-r--r-- | p9-host.dts.m4 | 6 | ||||
-rw-r--r-- | p9-kernel.dts.m4 | 6 | ||||
-rw-r--r-- | p9-pib.dts.m4 | 4 |
6 files changed, 20 insertions, 2 deletions
diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index c92bffc..5b83781 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -31,6 +31,8 @@ }; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,fsi-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; diff --git a/p8-host.dts.m4 b/p8-host.dts.m4 index 3197da7..ed88a55 100644 --- a/p8-host.dts.m4 +++ b/p8-host.dts.m4 @@ -9,6 +9,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x0>; chip-id = <0x0>; index = <0x0>; include(p8-pib.dts.m4)dnl @@ -18,6 +19,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x8>; chip-id = <0x8>; index = <0x1>; include(p8-pib.dts.m4)dnl diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 35dcbd2..b6d2ddc 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -22,6 +22,8 @@ compatible = "ibm,power8-opb"; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,power8-opb-hmfsi"; reg = <0x100000 0x80000>; port = <0x1>; diff --git a/p9-host.dts.m4 b/p9-host.dts.m4 index 5566acd..e1ec779 100644 --- a/p9-host.dts.m4 +++ b/p9-host.dts.m4 @@ -6,14 +6,20 @@ /* Host based debugfs access */ pib@0 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x0>; chip-id = <0x0>; index = <0x0>; include(p9-pib.dts.m4)dnl }; pib@8 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,host-pib"; + reg = <0x8>; chip-id = <0x8>; index = <0x1>; include(p9-pib.dts.m4)dnl diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4 index e364214..195be59 100644 --- a/p9-kernel.dts.m4 +++ b/p9-kernel.dts.m4 @@ -14,6 +14,8 @@ status = "mustexist"; pib@1000 { + #address-cells = <0x2>; + #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; @@ -21,12 +23,16 @@ }; hmfsi@100000 { + #address-cells = <0x2>; + #size-cells = <0x1>; compatible = "ibm,fsi-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; pib@1000 { + #address-cells = <0x2>; + #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; diff --git a/p9-pib.dts.m4 b/p9-pib.dts.m4 index e0248d1..3e312e5 100644 --- a/p9-pib.dts.m4 +++ b/p9-pib.dts.m4 @@ -2,6 +2,8 @@ define(`CONCAT', `$1$2')dnl define(`HEX', `CONCAT(0x, $1)')dnl define(`CORE_BASE', `eval(0x20000000 + $1 * 0x1000000, 16)')dnl define(`CORE', `chiplet@CORE_BASE($1) { +#address-cells = <0x2>; +#size-cells = <0x1>; compatible = "ibm,power9-chiplet"; index = <HEX(eval($2, 16))>; reg = <0x0 HEX(CORE_BASE($1)) 0xfffff>; @@ -33,8 +35,6 @@ index = <HEX(eval($1, 16))>; reg = <0x0 HEX(CHIPLET_BASE($1)) 0xfffff>; }')dnl -#address-cells = <0x2>; -#size-cells = <0x1>; adu@90000 { compatible = "ibm,power9-adu"; |