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