xref: /freebsd/sys/contrib/device-tree/src/arm/hisilicon/hisi-x5hd2-dkb.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2013-2014 Linaro Ltd.
4*f126890aSEmmanuel Vadot * Copyright (c) 2013-2014 HiSilicon Limited.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "hisi-x5hd2.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Hisilicon HIX5HD2 Development Board";
12*f126890aSEmmanuel Vadot	compatible = "hisilicon,hix5hd2";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	chosen {
15*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
16*f126890aSEmmanuel Vadot	};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	cpus {
19*f126890aSEmmanuel Vadot		#address-cells = <1>;
20*f126890aSEmmanuel Vadot		#size-cells = <0>;
21*f126890aSEmmanuel Vadot		enable-method = "hisilicon,hix5hd2-smp";
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		cpu@0 {
24*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
25*f126890aSEmmanuel Vadot			device_type = "cpu";
26*f126890aSEmmanuel Vadot			reg = <0>;
27*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
28*f126890aSEmmanuel Vadot		};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot		cpu@1 {
31*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
32*f126890aSEmmanuel Vadot			device_type = "cpu";
33*f126890aSEmmanuel Vadot			reg = <1>;
34*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
35*f126890aSEmmanuel Vadot		};
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot	memory@0 {
39*f126890aSEmmanuel Vadot		device_type = "memory";
40*f126890aSEmmanuel Vadot		reg = <0x00000000 0x80000000>;
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot};
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot&timer0 {
45*f126890aSEmmanuel Vadot	status = "okay";
46*f126890aSEmmanuel Vadot};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot&uart0 {
49*f126890aSEmmanuel Vadot	status = "okay";
50*f126890aSEmmanuel Vadot};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot&gmac0 {
53*f126890aSEmmanuel Vadot	#address-cells = <1>;
54*f126890aSEmmanuel Vadot	#size-cells = <0>;
55*f126890aSEmmanuel Vadot	phy-handle = <&phy2>;
56*f126890aSEmmanuel Vadot	phy-mode = "mii";
57*f126890aSEmmanuel Vadot	/* Placeholder, overwritten by bootloader */
58*f126890aSEmmanuel Vadot	mac-address = [00 00 00 00 00 00];
59*f126890aSEmmanuel Vadot	status = "okay";
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot	phy2: ethernet-phy@2 {
62*f126890aSEmmanuel Vadot		reg = <2>;
63*f126890aSEmmanuel Vadot	};
64*f126890aSEmmanuel Vadot};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot&gmac1 {
67*f126890aSEmmanuel Vadot	#address-cells = <1>;
68*f126890aSEmmanuel Vadot	#size-cells = <0>;
69*f126890aSEmmanuel Vadot	phy-handle = <&phy1>;
70*f126890aSEmmanuel Vadot	phy-mode = "rgmii";
71*f126890aSEmmanuel Vadot	/* Placeholder, overwritten by bootloader */
72*f126890aSEmmanuel Vadot	mac-address = [00 00 00 00 00 00];
73*f126890aSEmmanuel Vadot	status = "okay";
74*f126890aSEmmanuel Vadot
75*f126890aSEmmanuel Vadot	phy1: ethernet-phy@1 {
76*f126890aSEmmanuel Vadot		reg = <1>;
77*f126890aSEmmanuel Vadot	};
78*f126890aSEmmanuel Vadot};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot&ahci {
81*f126890aSEmmanuel Vadot	phys = <&sata_phy>;
82*f126890aSEmmanuel Vadot	phy-names = "sata-phy";
83*f126890aSEmmanuel Vadot};
84