xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-inspur-on5263m5.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1// SPDX-License-Identifier: GPL-2.0
2// Copyright (c) 2018 Inspur Corporation
3/dts-v1/;
4
5#include "aspeed-g5.dtsi"
6#include <dt-bindings/gpio/aspeed-gpio.h>
7
8/ {
9	model = "ON5263M5 BMC";
10	compatible = "inspur,on5263m5-bmc", "aspeed,ast2500";
11
12	chosen {
13		stdout-path = &uart5;
14		bootargs = "earlycon";
15	};
16
17	memory {
18		reg = <0x80000000 0x20000000>;
19	};
20
21	reserved-memory {
22		#address-cells = <1>;
23		#size-cells = <1>;
24		ranges;
25
26		vga_memory: framebuffer@9f000000 {
27			no-map;
28			reg = <0x9f000000 0x01000000>;
29		};
30	};
31
32	leds {
33	    compatible = "gpio-leds";
34	    bmc_alive {
35		label = "bmc_alive";
36		gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
37		linux,default-trigger = "timer";
38	    };
39	};
40
41	iio-hwmon {
42		compatible = "iio-hwmon";
43		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
44			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
45	};
46
47};
48
49&fmc {
50	status = "okay";
51	flash@0 {
52		status = "okay";
53		m25p,fast-read;
54		label = "bmc";
55#include "openbmc-flash-layout.dtsi"
56	};
57};
58
59&spi1 {
60	status = "okay";
61	pinctrl-names = "default";
62	pinctrl-0 = <&pinctrl_spi1_default>;
63
64	flash@0 {
65		status = "okay";
66		m25p,fast-read;
67		label = "pnor";
68	};
69};
70
71&uart5 {
72	status = "okay";
73};
74
75&mac0 {
76	status = "okay";
77
78	pinctrl-names = "default";
79	pinctrl-0 = <&pinctrl_rmii1_default>;
80	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
81		 <&syscon ASPEED_CLK_MAC1RCLK>;
82	clock-names = "MACCLK", "RCLK";
83	use-ncsi;
84};
85
86&mac1 {
87	status = "okay";
88
89	pinctrl-names = "default";
90	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
91};
92
93&i2c6 {
94	status = "okay";
95
96	tmp421@4e {
97		compatible = "ti,tmp421";
98		reg = <0x4e>;
99	};
100
101	tmp112@48 {
102		compatible = "ti,tmp112";
103		reg = <0x48>;
104	};
105
106	eeprom@54 {
107		compatible = "atmel,24c64";
108		reg = <0x54>;
109		pagesize = <32>;
110	};
111};
112
113&i2c7 {
114	status = "okay";
115
116	adm1278@11 {
117		  compatible = "adi,adm1278";
118		  reg = <0x11>;
119	};
120};
121
122&gfx {
123	status = "okay";
124};
125
126&pwm_tacho {
127	status = "okay";
128	pinctrl-names = "default";
129	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
130
131	fan@0 {
132		reg = <0x00>;
133		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
134	};
135
136	fan@1 {
137		reg = <0x01>;
138		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
139	};
140};
141
142&adc {
143	status = "okay";
144};
145