summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
blob: 41ee12a8d01d373c3c2ce0b5c8f73c53f09d252f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/dts-v1/;

#include "aspeed-g4.dtsi"

#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Barrelye BMC";
	compatible = "rackspace,barreleye-bmc", "aspeed,ast2400";

	aliases {
		serial4 = &uart5;
	};

	chosen {
		stdout-path = &uart5;
		bootargs = "console=ttyS4,38400 earlyprintk";
	};

	memory {
		reg = <0x40000000 0x10000000>;
	};

	ahb {
		bmc_pnor: fmc@1e620000 {
			reg = < 0x1e620000 0x94
				0x20000000 0x02000000 >;
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "aspeed,fmc";
			flash@0 {
				reg = < 0 >;
				compatible = "jedec,spi-nor" ;
#include "aspeed-bmc-opp-flash-layout.dtsi"
			};
		};

		host_pnor: spi@1e630000 {
			reg = < 0x1e630000 0x18
				0x30000000 0x02000000 >;
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "aspeed,smc";
			flash {
				reg = < 0 >;
				compatible = "jedec,spi-nor" ;
				label = "pnor";
			};
		};
	};

	leds {
		compatible = "gpio-leds";

		heartbeat {
			gpios = <&gpio 140 GPIO_ACTIVE_HIGH>;
		};

		identify {
			gpios = <&gpio 58 GPIO_ACTIVE_LOW>;
		};

		beep {
			gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
		};

	};

};

&mac0 {
	status = "okay";

	use-nc-si;
};

&i2c0 {
	status = "okay";

	eeprom@50 {
		compatible = "atmel,24c256";
		reg = <0x50>;
		pagesize = <64>;
	};

	rtc@68 {
		compatible = "dallas,ds3231";
		reg = <0x68>;
	};

	lm75@4a {
		compatible = "national,lm75";
		reg = <0x4a>;
	};
};

&i2c3 {
	status = "okay";

	occ@50 {
		compatible = "ibm,occ-i2c";
		reg = <0x50>;
	};

	occ@51 {
		compatible = "ibm,occ-i2c";
		reg = <0x51>;
	};
};

&i2c4 {
	status = "okay";

	adm1278@10 {
		// P12V_a for CPU0
		compatible = "adi,adm1278";
		reg = <0x10>;
		sense-resistor = <500>;
	};

	eeprom@54 {
		compatible = "atmel,24c256";
		reg = <0x54>;
		pagesize = <64>;
	};
};

&i2c5 {
	status = "okay";

	adm1278@10 {
		// P12V_b for CPU1
		compatible = "adi,adm1278";
		reg = <0x10>;
		sense-resistor = <500>;
	};
};

&i2c6 {
	status = "okay";

	nct7904@2d {
		compatible = "nuvoton,nct7904";
		reg = <0x2d>;
	};

	nct7904@2e {
		compatible = "nuvoton,nct7904";
		reg = <0x2e>;
	};

	eeprom@51 {
		compatible = "atmel,24c02";
		reg = <0x51>;
		pagesize = <8>;
	};

	eeprom@55 {
		compatible = "atmel,24c02";
		reg = <0x55>;
		pagesize = <8>;
	};
};