1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2021 Nuvoton Technology tomer 2 // Copyright (c) 2021 Nuvoton Technology tomer.maimon@nuvoton.com 3 3 4 #include "nuvoton-common-npcm8xx.dtsi" 4 #include "nuvoton-common-npcm8xx.dtsi" 5 5 6 / { 6 / { 7 #address-cells = <2>; 7 #address-cells = <2>; 8 #size-cells = <2>; 8 #size-cells = <2>; 9 9 10 cpus { 10 cpus { 11 #address-cells = <2>; 11 #address-cells = <2>; 12 #size-cells = <0>; 12 #size-cells = <0>; 13 13 14 cpu0: cpu@0 { 14 cpu0: cpu@0 { 15 device_type = "cpu"; 15 device_type = "cpu"; 16 compatible = "arm,cort 16 compatible = "arm,cortex-a35"; 17 clocks = <&clk NPCM8XX 17 clocks = <&clk NPCM8XX_CLK_CPU>; 18 reg = <0x0 0x0>; 18 reg = <0x0 0x0>; 19 next-level-cache = <&l 19 next-level-cache = <&l2>; 20 enable-method = "psci" 20 enable-method = "psci"; 21 }; 21 }; 22 22 23 cpu1: cpu@1 { 23 cpu1: cpu@1 { 24 device_type = "cpu"; 24 device_type = "cpu"; 25 compatible = "arm,cort 25 compatible = "arm,cortex-a35"; 26 clocks = <&clk NPCM8XX 26 clocks = <&clk NPCM8XX_CLK_CPU>; 27 reg = <0x0 0x1>; 27 reg = <0x0 0x1>; 28 next-level-cache = <&l 28 next-level-cache = <&l2>; 29 enable-method = "psci" 29 enable-method = "psci"; 30 }; 30 }; 31 31 32 cpu2: cpu@2 { 32 cpu2: cpu@2 { 33 device_type = "cpu"; 33 device_type = "cpu"; 34 compatible = "arm,cort 34 compatible = "arm,cortex-a35"; 35 clocks = <&clk NPCM8XX 35 clocks = <&clk NPCM8XX_CLK_CPU>; 36 reg = <0x0 0x2>; 36 reg = <0x0 0x2>; 37 next-level-cache = <&l 37 next-level-cache = <&l2>; 38 enable-method = "psci" 38 enable-method = "psci"; 39 }; 39 }; 40 40 41 cpu3: cpu@3 { 41 cpu3: cpu@3 { 42 device_type = "cpu"; 42 device_type = "cpu"; 43 compatible = "arm,cort 43 compatible = "arm,cortex-a35"; 44 clocks = <&clk NPCM8XX 44 clocks = <&clk NPCM8XX_CLK_CPU>; 45 reg = <0x0 0x3>; 45 reg = <0x0 0x3>; 46 next-level-cache = <&l 46 next-level-cache = <&l2>; 47 enable-method = "psci" 47 enable-method = "psci"; 48 }; 48 }; 49 49 50 l2: l2-cache { 50 l2: l2-cache { 51 compatible = "cache"; 51 compatible = "cache"; 52 cache-level = <2>; << 53 cache-unified; << 54 }; 52 }; 55 }; 53 }; 56 54 57 arm-pmu { 55 arm-pmu { 58 compatible = "arm,cortex-a35-p 56 compatible = "arm,cortex-a35-pmu"; 59 interrupts = <GIC_SPI 242 IRQ_ 57 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>, 60 <GIC_SPI 243 IRQ_ 58 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>, 61 <GIC_SPI 244 IRQ_ 59 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 62 <GIC_SPI 245 IRQ_ 60 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>; 63 interrupt-affinity = <&cpu0>, 61 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 64 }; 62 }; 65 63 66 psci { 64 psci { 67 compatible = "arm,psci-1. 65 compatible = "arm,psci-1.0"; 68 method = "smc"; 66 method = "smc"; 69 }; 67 }; 70 68 71 timer { 69 timer { 72 compatible = "arm,armv8-timer" 70 compatible = "arm,armv8-timer"; 73 interrupts = <GIC_PPI 13 (GIC_ 71 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 74 <GIC_PPI 14 (GIC_ 72 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 75 <GIC_PPI 11 (GIC_ 73 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 76 <GIC_PPI 10 (GIC_ 74 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 77 }; 75 }; 78 }; 76 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.