diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-09 08:21:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-09 08:21:18 +0200 |
commit | 1f3af633e28876c2a9649bce59747b3b23990e16 (patch) | |
tree | 282f4595f769db6a67ea65829e1687041184fd70 /arch/mips/dts | |
parent | 64c720391a0c127dba33d1ae8aeba30b6a3c692d (diff) | |
parent | 5500987a54b2f01ffcb94d96335453388314566e (diff) | |
download | barebox-1f3af633e28876c2a9649bce59747b3b23990e16.tar.gz barebox-1f3af633e28876c2a9649bce59747b3b23990e16.tar.xz |
Merge branch 'for-next/mips'
Diffstat (limited to 'arch/mips/dts')
-rw-r--r-- | arch/mips/dts/ar9331-dptechnics-dpt-module.dts | 11 | ||||
-rw-r--r-- | arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts | 11 | ||||
-rw-r--r-- | arch/mips/dts/dlink-dir-320.dts | 8 | ||||
-rw-r--r-- | arch/mips/dts/img-ci20.dts | 2 | ||||
-rw-r--r-- | arch/mips/dts/jz4755.dtsi | 5 | ||||
-rw-r--r-- | arch/mips/dts/jz4780.dtsi | 5 | ||||
-rw-r--r-- | arch/mips/dts/loongson-ls1b.dts | 3 | ||||
-rw-r--r-- | arch/mips/dts/ls1b.dtsi | 5 | ||||
-rw-r--r-- | arch/mips/dts/qemu-malta.dts | 8 | ||||
-rw-r--r-- | arch/mips/dts/rzx50.dts | 3 | ||||
-rw-r--r-- | arch/mips/dts/skeleton.dtsi | 13 |
11 files changed, 46 insertions, 28 deletions
diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts index 103d889b0e..f0de46315c 100644 --- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts +++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts @@ -11,6 +11,12 @@ compatible = "barebox,environment"; device-path = &spiflash, "partname:barebox-environment"; }; + + art@0 { + compatible = "qca,art-ar9331", "qca,art"; + device-path = &spiflash_art; + barebox,provide-mac-address = <&mac0>; + }; }; leds { @@ -30,6 +36,11 @@ label = "barebox-environment"; reg = <0x80000 0x10000>; }; + + spiflash_art: partition@7f0000 { + label = "art"; + reg = <0x7f0000 0x10000>; + }; }; &mac0 { diff --git a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts index dd9d33b2da..82daabbdd4 100644 --- a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts +++ b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts @@ -26,6 +26,12 @@ compatible = "barebox,environment"; device-path = &spiflash, "partname:barebox-environment"; }; + + art@0 { + compatible = "qca,art-ar9344", "qca,art"; + device-path = &spiflash_art; + barebox,provide-mac-address = <&mac0>; + }; }; }; @@ -63,6 +69,11 @@ label = "barebox-environment"; reg = <0x80000 0x10000>; }; + + spiflash_art: partition@7f0000 { + label = "art"; + reg = <0x7f0000 0x10000>; + }; }; }; diff --git a/arch/mips/dts/dlink-dir-320.dts b/arch/mips/dts/dlink-dir-320.dts index b961c9dca3..d19c3087d0 100644 --- a/arch/mips/dts/dlink-dir-320.dts +++ b/arch/mips/dts/dlink-dir-320.dts @@ -1,12 +1,14 @@ /dts-v1/; -#include "skeleton.dtsi" - / { model = "D-Link DIR-320"; compatible = "dlink,dir320"; - memory { + #address-cells = <1>; + #size-cells = <1>; + + memory@0 { + device_type = "memory"; reg = <0x00000000 0x2000000>; }; diff --git a/arch/mips/dts/img-ci20.dts b/arch/mips/dts/img-ci20.dts index da2a5bf625..d985666020 100644 --- a/arch/mips/dts/img-ci20.dts +++ b/arch/mips/dts/img-ci20.dts @@ -24,7 +24,7 @@ model = "MIPS Creator CI20"; compatible = "img,ci20"; - memory { + memory@0 { device_type = "memory"; reg = <0x0 0x10000000>; }; diff --git a/arch/mips/dts/jz4755.dtsi b/arch/mips/dts/jz4755.dtsi index 137156df7e..5d929c5d83 100644 --- a/arch/mips/dts/jz4755.dtsi +++ b/arch/mips/dts/jz4755.dtsi @@ -1,6 +1,7 @@ -#include "skeleton.dtsi" - / { + #address-cells = <1>; + #size-cells = <1>; + soc { compatible = "simple-bus"; model = "Ingenic JZ4755"; diff --git a/arch/mips/dts/jz4780.dtsi b/arch/mips/dts/jz4780.dtsi index 9f0de5d1ae..fbffe814bb 100644 --- a/arch/mips/dts/jz4780.dtsi +++ b/arch/mips/dts/jz4780.dtsi @@ -1,6 +1,7 @@ -#include "skeleton.dtsi" - / { + #address-cells = <1>; + #size-cells = <1>; + soc { model = "Ingenic JZ4780"; #address-cells = <1>; diff --git a/arch/mips/dts/loongson-ls1b.dts b/arch/mips/dts/loongson-ls1b.dts index b81a951dc7..6b53311982 100644 --- a/arch/mips/dts/loongson-ls1b.dts +++ b/arch/mips/dts/loongson-ls1b.dts @@ -6,7 +6,8 @@ model = "Loongson Tech LS1B Demo Board"; compatible = "loongson,ls1b"; - memory { + memory@0 { + device_type = "memory"; reg = <0x00000000 0x4000000>; }; }; diff --git a/arch/mips/dts/ls1b.dtsi b/arch/mips/dts/ls1b.dtsi index af7119f1d0..cb85814af4 100644 --- a/arch/mips/dts/ls1b.dtsi +++ b/arch/mips/dts/ls1b.dtsi @@ -1,6 +1,7 @@ -#include "skeleton.dtsi" - / { + #address-cells = <1>; + #size-cells = <1>; + soc { #address-cells = <1>; #size-cells = <1>; diff --git a/arch/mips/dts/qemu-malta.dts b/arch/mips/dts/qemu-malta.dts index 5a392f97a7..32e473cac0 100644 --- a/arch/mips/dts/qemu-malta.dts +++ b/arch/mips/dts/qemu-malta.dts @@ -1,11 +1,12 @@ /dts-v1/; -/include/ "skeleton.dtsi" - / { model = "qemu malta"; compatible = "qemu,malta"; + #address-cells = <1>; + #size-cells = <1>; + chosen { environment { compatible = "barebox,environment"; @@ -13,7 +14,8 @@ }; }; - memory { + memory@0 { + device_type = "memory"; reg = <0x00000000 0x10000000>; }; diff --git a/arch/mips/dts/rzx50.dts b/arch/mips/dts/rzx50.dts index 7ec3352666..bd3631f7c4 100644 --- a/arch/mips/dts/rzx50.dts +++ b/arch/mips/dts/rzx50.dts @@ -6,7 +6,8 @@ model = "Ritmix RZX-50"; compatible = "ritmix,rzx50"; - memory { + memory@0 { + device_type = "memory"; reg = <0x00000000 0x4000000>; }; diff --git a/arch/mips/dts/skeleton.dtsi b/arch/mips/dts/skeleton.dtsi deleted file mode 100644 index b41d241de2..0000000000 --- a/arch/mips/dts/skeleton.dtsi +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. The bootloader will typically populate the memory - * node. - */ - -/ { - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - memory { device_type = "memory"; reg = <0 0>; }; -}; |