diff options
| author | Sugaya Taichi <sugaya.taichi@socionext.com> | 2019-02-26 23:53:40 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2019-03-01 09:18:54 -0500 |
| commit | bbaad144231cd69a95a219f35cc7e72de4e649bf (patch) | |
| tree | 6ae3226637371dced25e2127fb73b2787240217a | |
| parent | b58f28f306dbe60e2e711f35618efc518e507e64 (diff) | |
ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board.
Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| -rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/milbeaut-m10v-evb.dts | 32 | ||||
| -rw-r--r-- | arch/arm/boot/dts/milbeaut-m10v.dtsi | 95 |
3 files changed, 128 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index bd40148a15b2..f697d87e99aa 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
| @@ -1233,6 +1233,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ | |||
| 1233 | mt7623n-bananapi-bpi-r2.dtb \ | 1233 | mt7623n-bananapi-bpi-r2.dtb \ |
| 1234 | mt8127-moose.dtb \ | 1234 | mt8127-moose.dtb \ |
| 1235 | mt8135-evbp1.dtb | 1235 | mt8135-evbp1.dtb |
| 1236 | dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb | ||
| 1236 | dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb | 1237 | dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb |
| 1237 | dtb-$(CONFIG_ARCH_ASPEED) += \ | 1238 | dtb-$(CONFIG_ARCH_ASPEED) += \ |
| 1238 | aspeed-ast2500-evb.dtb \ | 1239 | aspeed-ast2500-evb.dtb \ |
diff --git a/arch/arm/boot/dts/milbeaut-m10v-evb.dts b/arch/arm/boot/dts/milbeaut-m10v-evb.dts new file mode 100644 index 000000000000..614f60c6b0a2 --- /dev/null +++ b/arch/arm/boot/dts/milbeaut-m10v-evb.dts | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | /* Socionext Milbeaut M10V Evaluation Board */ | ||
| 3 | /dts-v1/; | ||
| 4 | #include "milbeaut-m10v.dtsi" | ||
| 5 | |||
| 6 | / { | ||
| 7 | model = "Socionext M10V EVB"; | ||
| 8 | compatible = "socionext,milbeaut-m10v-evb", "socionext,sc2000a"; | ||
| 9 | |||
| 10 | aliases { | ||
| 11 | serial0 = &uart1; | ||
| 12 | }; | ||
| 13 | |||
| 14 | chosen { | ||
| 15 | bootargs = "rootwait earlycon"; | ||
| 16 | stdout-path = "serial0:115200n8"; | ||
| 17 | }; | ||
| 18 | |||
| 19 | clocks { | ||
| 20 | uclk40xi: uclk40xi { | ||
| 21 | compatible = "fixed-clock"; | ||
| 22 | #clock-cells = <0>; | ||
| 23 | clock-frequency = <40000000>; | ||
| 24 | }; | ||
| 25 | }; | ||
| 26 | |||
| 27 | memory@40000000 { | ||
| 28 | device_type = "memory"; | ||
| 29 | reg = <0x40000000 0x80000000>; | ||
| 30 | }; | ||
| 31 | |||
| 32 | }; | ||
diff --git a/arch/arm/boot/dts/milbeaut-m10v.dtsi b/arch/arm/boot/dts/milbeaut-m10v.dtsi new file mode 100644 index 000000000000..aa7c6caeb750 --- /dev/null +++ b/arch/arm/boot/dts/milbeaut-m10v.dtsi | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 2 | #include <dt-bindings/interrupt-controller/irq.h> | ||
| 3 | #include <dt-bindings/input/input.h> | ||
| 4 | #include <dt-bindings/gpio/gpio.h> | ||
| 5 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 6 | |||
| 7 | / { | ||
| 8 | compatible = "socionext,sc2000a"; | ||
| 9 | interrupt-parent = <&gic>; | ||
| 10 | #address-cells = <1>; | ||
| 11 | #size-cells = <1>; | ||
| 12 | |||
| 13 | cpus { | ||
| 14 | #address-cells = <1>; | ||
| 15 | #size-cells = <0>; | ||
| 16 | enable-method = "socionext,milbeaut-m10v-smp"; | ||
| 17 | cpu@f00 { | ||
| 18 | device_type = "cpu"; | ||
| 19 | compatible = "arm,cortex-a7"; | ||
| 20 | reg = <0xf00>; | ||
| 21 | }; | ||
| 22 | cpu@f01 { | ||
| 23 | device_type = "cpu"; | ||
| 24 | compatible = "arm,cortex-a7"; | ||
| 25 | reg = <0xf01>; | ||
| 26 | }; | ||
| 27 | cpu@f02 { | ||
| 28 | device_type = "cpu"; | ||
| 29 | compatible = "arm,cortex-a7"; | ||
| 30 | reg = <0xf02>; | ||
| 31 | }; | ||
| 32 | cpu@f03 { | ||
| 33 | device_type = "cpu"; | ||
| 34 | compatible = "arm,cortex-a7"; | ||
| 35 | reg = <0xf03>; | ||
| 36 | }; | ||
| 37 | }; | ||
| 38 | |||
| 39 | timer { /* The Generic Timer */ | ||
| 40 | compatible = "arm,armv7-timer"; | ||
| 41 | interrupts = <GIC_PPI 13 | ||
| 42 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, | ||
| 43 | <GIC_PPI 14 | ||
| 44 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, | ||
| 45 | <GIC_PPI 11 | ||
| 46 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, | ||
| 47 | <GIC_PPI 10 | ||
| 48 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; | ||
| 49 | clock-frequency = <40000000>; | ||
| 50 | always-on; | ||
| 51 | }; | ||
| 52 | |||
| 53 | soc { | ||
| 54 | compatible = "simple-bus"; | ||
| 55 | #address-cells = <1>; | ||
| 56 | #size-cells = <1>; | ||
| 57 | ranges; | ||
| 58 | interrupt-parent = <&gic>; | ||
| 59 | |||
| 60 | gic: interrupt-controller@1d000000 { | ||
| 61 | compatible = "arm,cortex-a7-gic"; | ||
| 62 | interrupt-controller; | ||
| 63 | #interrupt-cells = <3>; | ||
| 64 | reg = <0x1d001000 0x1000>, | ||
| 65 | <0x1d002000 0x1000>; /* CPU I/f base and size */ | ||
| 66 | }; | ||
| 67 | |||
| 68 | timer@1e000050 { /* 32-bit Reload Timers */ | ||
| 69 | compatible = "socionext,milbeaut-timer"; | ||
| 70 | reg = <0x1e000050 0x20>; | ||
| 71 | interrupts = <0 91 4>; | ||
| 72 | }; | ||
| 73 | |||
| 74 | uart1: serial@1e700010 { /* PE4, PE5 */ | ||
| 75 | /* Enable this as ttyUSI0 */ | ||
| 76 | compatible = "socionext,milbeaut-usio-uart"; | ||
| 77 | reg = <0x1e700010 0x10>; | ||
| 78 | interrupts = <0 141 0x4>, <0 149 0x4>; | ||
| 79 | interrupt-names = "rx", "tx"; | ||
| 80 | }; | ||
| 81 | |||
| 82 | }; | ||
| 83 | |||
| 84 | sram@0 { | ||
| 85 | compatible = "mmio-sram"; | ||
| 86 | reg = <0x0 0x10000>; | ||
| 87 | #address-cells = <1>; | ||
| 88 | #size-cells = <1>; | ||
| 89 | ranges = <0 0x0 0x10000>; | ||
| 90 | smp-sram@f100 { | ||
| 91 | compatible = "socionext,milbeaut-smp-sram"; | ||
| 92 | reg = <0xf100 0x20>; | ||
| 93 | }; | ||
| 94 | }; | ||
| 95 | }; | ||
