Loading...
Note: File does not exist in v4.17.
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 = "earlyprintk";
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 use-ncsi;
81};
82
83&mac1 {
84 status = "okay";
85
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
88};
89
90&i2c6 {
91 status = "okay";
92
93 tmp421@4e {
94 compatible = "ti,tmp421";
95 reg = <0x4e>;
96 };
97
98 tmp112@48 {
99 compatible = "ti,tmp112";
100 reg = <0x48>;
101 };
102
103 eeprom@54 {
104 compatible = "atmel,24c64";
105 reg = <0x54>;
106 pagesize = <32>;
107 };
108};
109
110&i2c7 {
111 status = "okay";
112
113 adm1278@11 {
114 compatible = "adi,adm1278";
115 reg = <0x11>;
116 };
117};
118
119&gfx {
120 status = "okay";
121};
122
123&pinctrl {
124 aspeed,external-nodes = <&gfx &lhc>;
125};
126
127&pwm_tacho {
128 status = "okay";
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
131
132 fan@0 {
133 reg = <0x00>;
134 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
135 };
136
137 fan@1 {
138 reg = <0x01>;
139 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
140 };
141};
142
143&adc {
144 status = "okay";
145};