xref: /freebsd/sys/contrib/device-tree/src/arm/unisoc/rda8810pl-orangepi-2g-iot.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2017 Andreas Färber
4*f126890aSEmmanuel Vadot * Copyright (c) 2018 Manivannan Sadhasivam
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot#include "rda8810pl.dtsi"
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	compatible = "xunlong,orangepi-2g-iot", "rda,8810pl";
13*f126890aSEmmanuel Vadot	model = "Orange Pi 2G-IoT";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	aliases {
16*f126890aSEmmanuel Vadot		serial0 = &uart1;
17*f126890aSEmmanuel Vadot		serial1 = &uart2;
18*f126890aSEmmanuel Vadot		serial2 = &uart3;
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	chosen {
22*f126890aSEmmanuel Vadot		stdout-path = "serial2:921600n8";
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	memory@80000000 {
26*f126890aSEmmanuel Vadot		device_type = "memory";
27*f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>;
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot	uart_clk: uart-clk {
31*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
32*f126890aSEmmanuel Vadot		clock-frequency = <921600>;
33*f126890aSEmmanuel Vadot		#clock-cells = <0>;
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot&uart1 {
38*f126890aSEmmanuel Vadot	status = "okay";
39*f126890aSEmmanuel Vadot	clocks = <&uart_clk>;
40*f126890aSEmmanuel Vadot};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot&uart2 {
43*f126890aSEmmanuel Vadot	status = "okay";
44*f126890aSEmmanuel Vadot	clocks = <&uart_clk>;
45*f126890aSEmmanuel Vadot};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot&uart3 {
48*f126890aSEmmanuel Vadot	status = "okay";
49*f126890aSEmmanuel Vadot	clocks = <&uart_clk>;
50*f126890aSEmmanuel Vadot};
51