2017-08-17 21:20:09 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2018-04-04 18:11:02 +07:00
|
|
|
// Copyright (c) 2018 Nuvoton Technology tomer.maimon@nuvoton.com
|
2017-08-17 21:20:09 +07:00
|
|
|
// Copyright 2018 Google, Inc.
|
|
|
|
|
2018-04-04 18:11:02 +07:00
|
|
|
#include "nuvoton-common-npcm7xx.dtsi"
|
2017-08-17 21:20:09 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
enable-method = "nuvoton,npcm750-smp";
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a9";
|
2018-04-04 18:11:00 +07:00
|
|
|
clocks = <&clk 0>;
|
2017-08-17 21:20:09 +07:00
|
|
|
clock-names = "clk_cpu";
|
|
|
|
reg = <0>;
|
|
|
|
next-level-cache = <&l2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a9";
|
2018-04-04 18:11:00 +07:00
|
|
|
clocks = <&clk 0>;
|
2017-08-17 21:20:09 +07:00
|
|
|
clock-names = "clk_cpu";
|
|
|
|
reg = <1>;
|
|
|
|
next-level-cache = <&l2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
soc {
|
|
|
|
timer@3fe600 {
|
|
|
|
compatible = "arm,cortex-a9-twd-timer";
|
|
|
|
reg = <0x3fe600 0x20>;
|
|
|
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
|
|
|
|
IRQ_TYPE_LEVEL_HIGH)>;
|
2018-04-04 18:11:00 +07:00
|
|
|
clocks = <&clk 5>;
|
2017-08-17 21:20:09 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|