xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-intel-s2600wf.dts (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
1// SPDX-License-Identifier: GPL-2.0
2// Copyright (c) 2017 Intel Corporation
3/dts-v1/;
4
5#include "aspeed-g5.dtsi"
6
7/ {
8	model = "S2600WF BMC";
9	compatible = "intel,s2600wf-bmc", "aspeed,ast2500";
10
11	chosen {
12		stdout-path = &uart5;
13		bootargs = "earlycon";
14	};
15
16	memory@80000000 {
17		reg = <0x80000000 0x20000000>;
18	};
19
20	reserved-memory {
21		#address-cells = <1>;
22		#size-cells = <1>;
23		ranges;
24
25		vga_memory: framebuffer@9f000000 {
26			no-map;
27			reg = <0x9f000000 0x01000000>; /* 16M */
28		};
29	};
30
31	iio-hwmon {
32		compatible = "iio-hwmon";
33		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
34			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
35			<&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
36			<&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
37	};
38
39};
40
41&fmc {
42	status = "okay";
43	flash@0 {
44		status = "okay";
45		m25p,fast-read;
46		label = "bmc";
47#include "openbmc-flash-layout.dtsi"
48	};
49};
50
51&spi1 {
52	status = "okay";
53	pinctrl-names = "default";
54	pinctrl-0 = <&pinctrl_spi1_default>;
55
56	flash@0 {
57		status = "okay";
58		m25p,fast-read;
59		label = "pnor";
60	};
61};
62
63&uart5 {
64	status = "okay";
65};
66
67&mac0 {
68	status = "okay";
69
70	pinctrl-names = "default";
71	pinctrl-0 = <&pinctrl_rmii1_default>;
72	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
73		 <&syscon ASPEED_CLK_MAC1RCLK>;
74	clock-names = "MACCLK", "RCLK";
75	use-ncsi;
76};
77
78&mac1 {
79	status = "okay";
80
81	pinctrl-names = "default";
82	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
83};
84
85&i2c1 {
86	status = "okay";
87};
88
89&i2c2 {
90	status = "okay";
91};
92
93&i2c3 {
94	status = "okay";
95};
96
97&i2c4 {
98	status = "okay";
99};
100
101&i2c5 {
102	status = "okay";
103};
104
105&i2c6 {
106	status = "okay";
107};
108
109&i2c7 {
110	status = "okay";
111};
112
113&i2c13 {
114	status = "okay";
115};
116
117&gfx {
118	status = "okay";
119};
120
121&pinctrl {
122	aspeed,external-nodes = <&gfx &lhc>;
123};
124
125&pwm_tacho {
126	status = "okay";
127	pinctrl-names = "default";
128	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
129			 &pinctrl_pwm2_default &pinctrl_pwm3_default
130			 &pinctrl_pwm4_default &pinctrl_pwm5_default
131			 &pinctrl_pwm6_default &pinctrl_pwm7_default>;
132};
133