diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-04-28 10:16:00 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2016-04-28 10:16:00 -0400 |
| commit | d6a58a5cc17a0f215bf80862b59ba82be5a2181f (patch) | |
| tree | be40b5d2e2456f49258fdcba14d53fb9dc804ea0 | |
| parent | bf6fc0a2494df5a5750ff7afe071eaf8f127c242 (diff) | |
| parent | 4cfcb35189f62ae351194827fca1787053a66235 (diff) | |
Merge tag 'hip0x-dt-for-4.7' of git://github.com/hisilicon/linux-hisi into next/dt64
Merge "ARM64: DT: Hisilicon hip05 and hip06 updates for 4.7" Wei Xu:
- Fix its node without msi-cells for hip05
- Add nor flash node for hip05 D02 board
- Add initial dts for hip06 D03 board
- Reorder and add the hip06 D03 binding in the binding document
* tag 'hip0x-dt-for-4.7' of git://github.com/hisilicon/linux-hisi:
Documentation: arm64: Add Hisilicon Hip06 D03 dts binding
arm64: dts: Add initial dts for Hisilicon Hip06 D03 board
arm64: dts: hip05: Add nor flash support
arm64: dts: hip05: fix its node without msi-cells
| -rw-r--r-- | Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 20 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/hisilicon/Makefile | 4 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 34 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip05.dtsi | 10 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip06-d03.dts | 34 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip06.dtsi | 307 |
6 files changed, 400 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt index e3ccab114006..83fe816ae050 100644 --- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt +++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | |||
| @@ -1,29 +1,33 @@ | |||
| 1 | Hisilicon Platforms Device Tree Bindings | 1 | Hisilicon Platforms Device Tree Bindings |
| 2 | ---------------------------------------------------- | 2 | ---------------------------------------------------- |
| 3 | Hi6220 SoC | ||
| 4 | Required root node properties: | ||
| 5 | - compatible = "hisilicon,hi6220"; | ||
| 6 | |||
| 7 | Hi4511 Board | 3 | Hi4511 Board |
| 8 | Required root node properties: | 4 | Required root node properties: |
| 9 | - compatible = "hisilicon,hi3620-hi4511"; | 5 | - compatible = "hisilicon,hi3620-hi4511"; |
| 10 | 6 | ||
| 11 | HiP04 D01 Board | 7 | Hi6220 SoC |
| 12 | Required root node properties: | 8 | Required root node properties: |
| 13 | - compatible = "hisilicon,hip04-d01"; | 9 | - compatible = "hisilicon,hi6220"; |
| 10 | |||
| 11 | HiKey Board | ||
| 12 | Required root node properties: | ||
| 13 | - compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; | ||
| 14 | 14 | ||
| 15 | HiP01 ca9x2 Board | 15 | HiP01 ca9x2 Board |
| 16 | Required root node properties: | 16 | Required root node properties: |
| 17 | - compatible = "hisilicon,hip01-ca9x2"; | 17 | - compatible = "hisilicon,hip01-ca9x2"; |
| 18 | 18 | ||
| 19 | HiKey Board | 19 | HiP04 D01 Board |
| 20 | Required root node properties: | 20 | Required root node properties: |
| 21 | - compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; | 21 | - compatible = "hisilicon,hip04-d01"; |
| 22 | 22 | ||
| 23 | HiP05 D02 Board | 23 | HiP05 D02 Board |
| 24 | Required root node properties: | 24 | Required root node properties: |
| 25 | - compatible = "hisilicon,hip05-d02"; | 25 | - compatible = "hisilicon,hip05-d02"; |
| 26 | 26 | ||
| 27 | HiP06 D03 Board | ||
| 28 | Required root node properties: | ||
| 29 | - compatible = "hisilicon,hip06-d03"; | ||
| 30 | |||
| 27 | Hisilicon system controller | 31 | Hisilicon system controller |
| 28 | 32 | ||
| 29 | Required properties: | 33 | Required properties: |
diff --git a/arch/arm64/boot/dts/hisilicon/Makefile b/arch/arm64/boot/dts/hisilicon/Makefile index cd158b80e29b..d5f43a06b1c1 100644 --- a/arch/arm64/boot/dts/hisilicon/Makefile +++ b/arch/arm64/boot/dts/hisilicon/Makefile | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | dtb-$(CONFIG_ARCH_HISI) += hi6220-hikey.dtb hip05-d02.dtb | 1 | dtb-$(CONFIG_ARCH_HISI) += hi6220-hikey.dtb |
| 2 | dtb-$(CONFIG_ARCH_HISI) += hip05-d02.dtb | ||
| 3 | dtb-$(CONFIG_ARCH_HISI) += hip06-d03.dtb | ||
| 2 | 4 | ||
| 3 | always := $(dtb-y) | 5 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 6 | subdir-y := $(dts-dirs) |
diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts index e9436c0d81f7..abba750b87f8 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts +++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts | |||
| @@ -52,3 +52,37 @@ | |||
| 52 | &peri_gpio0 { | 52 | &peri_gpio0 { |
| 53 | status = "ok"; | 53 | status = "ok"; |
| 54 | }; | 54 | }; |
| 55 | |||
| 56 | &lbc { | ||
| 57 | status = "ok"; | ||
| 58 | #address-cells = <2>; | ||
| 59 | #size-cells = <1>; | ||
| 60 | ranges = <0 0 0x0 0x90000000 0x08000000>, | ||
| 61 | <1 0 0x0 0x98000000 0x08000000>; | ||
| 62 | |||
| 63 | nor-flash@0,0 { | ||
| 64 | #address-cells = <1>; | ||
| 65 | #size-cells = <1>; | ||
| 66 | compatible = "numonyx,js28f00a", "cfi-flash"; | ||
| 67 | reg = <0 0x0 0x08000000>; | ||
| 68 | bank-width = <2>; | ||
| 69 | /* The three parts may not used */ | ||
| 70 | partition@0 { | ||
| 71 | label = "BIOS"; | ||
| 72 | reg = <0x0 0x300000>; | ||
| 73 | }; | ||
| 74 | partition@300000 { | ||
| 75 | label = "Linux"; | ||
| 76 | reg = <0x300000 0xa00000>; | ||
| 77 | }; | ||
| 78 | partition@1000000 { | ||
| 79 | label = "Rootfs"; | ||
| 80 | reg = <0x01000000 0x02000000>; | ||
| 81 | }; | ||
| 82 | }; | ||
| 83 | |||
| 84 | cpld@1,0 { | ||
| 85 | compatible = "hisilicon,hip05-cpld"; | ||
| 86 | reg = <1 0x0 0x100>; | ||
| 87 | }; | ||
| 88 | }; | ||
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index 6319ff3b03ea..bf322ed038b8 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi | |||
| @@ -249,24 +249,28 @@ | |||
| 249 | its_peri: interrupt-controller@8c000000 { | 249 | its_peri: interrupt-controller@8c000000 { |
| 250 | compatible = "arm,gic-v3-its"; | 250 | compatible = "arm,gic-v3-its"; |
| 251 | msi-controller; | 251 | msi-controller; |
| 252 | #msi-cells = <1>; | ||
| 252 | reg = <0x0 0x8c000000 0x0 0x40000>; | 253 | reg = <0x0 0x8c000000 0x0 0x40000>; |
| 253 | }; | 254 | }; |
| 254 | 255 | ||
| 255 | its_m3: interrupt-controller@a3000000 { | 256 | its_m3: interrupt-controller@a3000000 { |
| 256 | compatible = "arm,gic-v3-its"; | 257 | compatible = "arm,gic-v3-its"; |
| 257 | msi-controller; | 258 | msi-controller; |
| 259 | #msi-cells = <1>; | ||
| 258 | reg = <0x0 0xa3000000 0x0 0x40000>; | 260 | reg = <0x0 0xa3000000 0x0 0x40000>; |
| 259 | }; | 261 | }; |
| 260 | 262 | ||
| 261 | its_pcie: interrupt-controller@b7000000 { | 263 | its_pcie: interrupt-controller@b7000000 { |
| 262 | compatible = "arm,gic-v3-its"; | 264 | compatible = "arm,gic-v3-its"; |
| 263 | msi-controller; | 265 | msi-controller; |
| 266 | #msi-cells = <1>; | ||
| 264 | reg = <0x0 0xb7000000 0x0 0x40000>; | 267 | reg = <0x0 0xb7000000 0x0 0x40000>; |
| 265 | }; | 268 | }; |
| 266 | 269 | ||
| 267 | its_dsa: interrupt-controller@c6000000 { | 270 | its_dsa: interrupt-controller@c6000000 { |
| 268 | compatible = "arm,gic-v3-its"; | 271 | compatible = "arm,gic-v3-its"; |
| 269 | msi-controller; | 272 | msi-controller; |
| 273 | #msi-cells = <1>; | ||
| 270 | reg = <0x0 0xc6000000 0x0 0x40000>; | 274 | reg = <0x0 0xc6000000 0x0 0x40000>; |
| 271 | }; | 275 | }; |
| 272 | }; | 276 | }; |
| @@ -323,6 +327,12 @@ | |||
| 323 | status = "disabled"; | 327 | status = "disabled"; |
| 324 | }; | 328 | }; |
| 325 | 329 | ||
| 330 | lbc: localbus@80380000 { | ||
| 331 | compatible = "hisilicon,hisi-localbus", "simple-bus"; | ||
| 332 | reg = <0x0 0x80380000 0x0 0x10000>; | ||
| 333 | status = "disabled"; | ||
| 334 | }; | ||
| 335 | |||
| 326 | peri_gpio0: gpio@802e0000 { | 336 | peri_gpio0: gpio@802e0000 { |
| 327 | #address-cells = <1>; | 337 | #address-cells = <1>; |
| 328 | #size-cells = <0>; | 338 | #size-cells = <0>; |
diff --git a/arch/arm64/boot/dts/hisilicon/hip06-d03.dts b/arch/arm64/boot/dts/hisilicon/hip06-d03.dts new file mode 100644 index 000000000000..f3e5323e430b --- /dev/null +++ b/arch/arm64/boot/dts/hisilicon/hip06-d03.dts | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /** | ||
| 2 | * dts file for Hisilicon D03 Development Board | ||
| 3 | * | ||
| 4 | * Copyright (C) 2016 Hisilicon Ltd. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * publishhed by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | */ | ||
| 11 | |||
| 12 | /dts-v1/; | ||
| 13 | |||
| 14 | #include "hip06.dtsi" | ||
| 15 | |||
| 16 | / { | ||
| 17 | model = "Hisilicon Hip06 D03 Development Board"; | ||
| 18 | compatible = "hisilicon,hip06-d03"; | ||
| 19 | |||
| 20 | |||
