xref: /freebsd/sys/contrib/device-tree/src/arm/amlogic/meson6.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2014 Carlo Caione <carlo@caione.org>
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "meson.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "Amlogic Meson6 SoC";
10*f126890aSEmmanuel Vadot	compatible = "amlogic,meson6";
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot	cpus {
13*f126890aSEmmanuel Vadot		#address-cells = <1>;
14*f126890aSEmmanuel Vadot		#size-cells = <0>;
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot		cpu@200 {
17*f126890aSEmmanuel Vadot			device_type = "cpu";
18*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
19*f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
20*f126890aSEmmanuel Vadot			reg = <0x200>;
21*f126890aSEmmanuel Vadot		};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		cpu@201 {
24*f126890aSEmmanuel Vadot			device_type = "cpu";
25*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
26*f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
27*f126890aSEmmanuel Vadot			reg = <0x201>;
28*f126890aSEmmanuel Vadot		};
29*f126890aSEmmanuel Vadot	};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot	apb2: bus@d0000000 {
32*f126890aSEmmanuel Vadot		compatible = "simple-bus";
33*f126890aSEmmanuel Vadot		reg = <0xd0000000 0x40000>;
34*f126890aSEmmanuel Vadot		#address-cells = <1>;
35*f126890aSEmmanuel Vadot		#size-cells = <1>;
36*f126890aSEmmanuel Vadot		ranges = <0x0 0xd0000000 0x40000>;
37*f126890aSEmmanuel Vadot	};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot	clk81: clk@0 {
40*f126890aSEmmanuel Vadot		#clock-cells = <0>;
41*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
42*f126890aSEmmanuel Vadot		clock-frequency = <200000000>;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot}; /* end of / */
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot&efuse {
47*f126890aSEmmanuel Vadot	status = "disabled";
48*f126890aSEmmanuel Vadot};
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot&timer_abcde {
51*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&clk81>;
52*f126890aSEmmanuel Vadot	clock-names = "xtal", "pclk";
53*f126890aSEmmanuel Vadot};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot&uart_AO {
56*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&clk81>, <&clk81>;
57*f126890aSEmmanuel Vadot	clock-names = "xtal", "pclk", "baud";
58*f126890aSEmmanuel Vadot};
59*f126890aSEmmanuel Vadot
60*f126890aSEmmanuel Vadot&uart_A {
61*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&clk81>, <&clk81>;
62*f126890aSEmmanuel Vadot	clock-names = "xtal", "pclk", "baud";
63*f126890aSEmmanuel Vadot};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot&uart_B {
66*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&clk81>, <&clk81>;
67*f126890aSEmmanuel Vadot	clock-names = "xtal", "pclk", "baud";
68*f126890aSEmmanuel Vadot};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot&uart_C {
71*f126890aSEmmanuel Vadot	clocks = <&xtal>, <&clk81>, <&clk81>;
72*f126890aSEmmanuel Vadot	clock-names = "xtal", "pclk", "baud";
73*f126890aSEmmanuel Vadot};
74