mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
2f4a686f21
This commit add watchdog and sysreset watchdog in the bcm63158 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
102 lines
1.9 KiB
Text
102 lines
1.9 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
|
|
*/
|
|
|
|
#include "skeleton64.dtsi"
|
|
|
|
/ {
|
|
compatible = "brcm,bcm63158";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
cpus {
|
|
#address-cells = <2>;
|
|
#size-cells = <0>;
|
|
u-boot,dm-pre-reloc;
|
|
|
|
cpu0: cpu@0 {
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
device_type = "cpu";
|
|
reg = <0x0 0x0>;
|
|
next-level-cache = <&l2>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
cpu1: cpu@1 {
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
device_type = "cpu";
|
|
reg = <0x0 0x1>;
|
|
next-level-cache = <&l2>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
cpu2: cpu@2 {
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
device_type = "cpu";
|
|
reg = <0x0 0x2>;
|
|
next-level-cache = <&l2>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
cpu3: cpu@3 {
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
device_type = "cpu";
|
|
reg = <0x0 0x3>;
|
|
next-level-cache = <&l2>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
clocks {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
u-boot,dm-pre-reloc;
|
|
|
|
periph_osc: periph-osc {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <0xbebc200>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
ubus {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
u-boot,dm-pre-reloc;
|
|
|
|
uart0: serial@ff812000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0x0 0xff812000 0x0 0x1000>;
|
|
clock = <50000000>;
|
|
|
|
status = "disabled";
|
|
};
|
|
|
|
wdt1: watchdog@ff800480 {
|
|
compatible = "brcm,bcm6345-wdt";
|
|
reg = <0x0 0xff800480 0x0 0x14>;
|
|
clocks = <&periph_osc>;
|
|
};
|
|
|
|
wdt2: watchdog@ff8004c0 {
|
|
compatible = "brcm,bcm6345-wdt";
|
|
reg = <0x0 0xff8004c0 0x0 0x14>;
|
|
clocks = <&periph_osc>;
|
|
};
|
|
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdt1>;
|
|
};
|
|
};
|
|
};
|