1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018 Nuvoton Technology tomer 2 // Copyright (c) 2018 Nuvoton Technology tomer.maimon@nuvoton.com 3 // Copyright 2018 Google, Inc. 3 // Copyright 2018 Google, Inc. 4 4 5 #include "nuvoton-common-npcm7xx.dtsi" 5 #include "nuvoton-common-npcm7xx.dtsi" 6 6 7 / { 7 / { 8 #address-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&gic>; 10 interrupt-parent = <&gic>; 11 11 12 cpus { 12 cpus { 13 #address-cells = <1>; 13 #address-cells = <1>; 14 #size-cells = <0>; 14 #size-cells = <0>; 15 enable-method = "nuvoton,npcm7 15 enable-method = "nuvoton,npcm750-smp"; 16 16 17 cpu@0 { 17 cpu@0 { 18 device_type = "cpu"; 18 device_type = "cpu"; 19 compatible = "arm,cort 19 compatible = "arm,cortex-a9"; 20 clocks = <&clk NPCM7XX 20 clocks = <&clk NPCM7XX_CLK_CPU>; 21 clock-names = "clk_cpu 21 clock-names = "clk_cpu"; 22 reg = <0>; 22 reg = <0>; 23 next-level-cache = <&l 23 next-level-cache = <&l2>; 24 }; 24 }; 25 25 26 cpu@1 { 26 cpu@1 { 27 device_type = "cpu"; 27 device_type = "cpu"; 28 compatible = "arm,cort 28 compatible = "arm,cortex-a9"; 29 clocks = <&clk NPCM7XX 29 clocks = <&clk NPCM7XX_CLK_CPU>; 30 clock-names = "clk_cpu 30 clock-names = "clk_cpu"; 31 reg = <1>; 31 reg = <1>; 32 next-level-cache = <&l 32 next-level-cache = <&l2>; 33 }; 33 }; 34 }; 34 }; 35 35 36 soc { 36 soc { 37 timer@3fe600 { 37 timer@3fe600 { 38 compatible = "arm,cort 38 compatible = "arm,cortex-a9-twd-timer"; 39 reg = <0x3fe600 0x20>; 39 reg = <0x3fe600 0x20>; 40 interrupts = <GIC_PPI 40 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | 41 41 IRQ_TYPE_LEVEL_HIGH)>; 42 clocks = <&clk NPCM7XX 42 clocks = <&clk NPCM7XX_CLK_AHB>; 43 }; 43 }; 44 }; 44 }; 45 45 46 ahb { 46 ahb { 47 gmac1: eth@f0804000 { 47 gmac1: eth@f0804000 { 48 device_type = "network 48 device_type = "network"; 49 compatible = "snps,dwm 49 compatible = "snps,dwmac"; 50 reg = <0xf0804000 0x20 50 reg = <0xf0804000 0x2000>; 51 interrupts = <GIC_SPI 51 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 52 interrupt-names = "mac 52 interrupt-names = "macirq"; 53 ethernet = <1>; 53 ethernet = <1>; 54 clocks = <&clk_rg2refc 54 clocks = <&clk_rg2refck>, <&clk NPCM7XX_CLK_AHB>; 55 clock-names = "stmmace 55 clock-names = "stmmaceth", "clk_gmac"; 56 pinctrl-names = "defau 56 pinctrl-names = "default"; 57 pinctrl-0 = <&rg2_pins 57 pinctrl-0 = <&rg2_pins 58 &rg2md 58 &rg2mdio_pins>; 59 status = "disabled"; 59 status = "disabled"; 60 }; 60 }; 61 }; 61 }; 62 }; 62 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.