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