2021-11-26 17:21:31 +08:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Copyright (c) 2021 ASPEED Technology Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <arm/armv7-m.dtsi>
|
|
|
|
#include <mem.h>
|
2022-07-22 11:43:27 +08:00
|
|
|
#include <dt-bindings/clock/ast10x0_clock.h>
|
2021-11-26 17:21:31 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-m4f";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@0 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
syscon: syscon@7e6e2000 {
|
2022-05-13 19:40:29 +08:00
|
|
|
compatible = "syscon";
|
2021-11-26 17:21:31 +08:00
|
|
|
reg = <0x7e6e2000 0x1000>;
|
2022-07-22 11:43:27 +08:00
|
|
|
sysclk: sysclk {
|
|
|
|
compatible = "aspeed,ast10x0-clock";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
2021-11-26 17:21:31 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
uart5: serial@7e784000 {
|
|
|
|
compatible = "ns16550";
|
|
|
|
reg = <0x7e784000 0x1000>;
|
|
|
|
interrupts = <8 0>;
|
2022-07-22 11:43:27 +08:00
|
|
|
clocks = <&sysclk ASPEED_CLK_UART5>;
|
2021-11-26 17:21:31 +08:00
|
|
|
status = "disabled";
|
2022-06-15 19:59:22 +08:00
|
|
|
reg-shift = <2>;
|
2021-11-26 17:21:31 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|