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