Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: add Nuvoton NPCM730 device tree

Add Nuvoton NPCM730 SoC device tree.

The Nuvoton NPCN730 SoC is a part of the
Nuvoton NPCM7xx SoCs family.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Reviewed-by: Benjamin Fair <benjaminfair@google.com>
Link: https://lore.kernel.org/r/20201119080002.100342-1-tmaimon77@gmail.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Tomer Maimon and committed by
Arnd Bergmann
b2d91953 1e548b67

+44
+44
arch/arm/boot/dts/nuvoton-npcm730.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + // Copyright (c) 2020 Nuvoton Technology 3 + 4 + #include "nuvoton-common-npcm7xx.dtsi" 5 + 6 + / { 7 + #address-cells = <1>; 8 + #size-cells = <1>; 9 + interrupt-parent = <&gic>; 10 + 11 + cpus { 12 + #address-cells = <1>; 13 + #size-cells = <0>; 14 + enable-method = "nuvoton,npcm750-smp"; 15 + 16 + cpu@0 { 17 + device_type = "cpu"; 18 + compatible = "arm,cortex-a9"; 19 + clocks = <&clk NPCM7XX_CLK_CPU>; 20 + clock-names = "clk_cpu"; 21 + reg = <0>; 22 + next-level-cache = <&l2>; 23 + }; 24 + 25 + cpu@1 { 26 + device_type = "cpu"; 27 + compatible = "arm,cortex-a9"; 28 + clocks = <&clk NPCM7XX_CLK_CPU>; 29 + clock-names = "clk_cpu"; 30 + reg = <1>; 31 + next-level-cache = <&l2>; 32 + }; 33 + }; 34 + 35 + soc { 36 + timer@3fe600 { 37 + compatible = "arm,cortex-a9-twd-timer"; 38 + reg = <0x3fe600 0x20>; 39 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | 40 + IRQ_TYPE_LEVEL_HIGH)>; 41 + clocks = <&clk NPCM7XX_CLK_AHB>; 42 + }; 43 + }; 44 + };