summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
blob: 8fcf14777701b1e4c735da5fd4fb5e858f3611b9 (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
/dts-v1/;

#include "ast2400.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Garrison BMC";
	compatible = "ibm,garrison-bmc", "aspeed,ast2400";

	ahb {
		mac0: ethernet@1e660000 {
			use-nc-si;
			no-hw-checksum;
		};

		fmc@1e620000 {
			reg = < 0x1e620000 0x94
				0x20000000 0x02000000 >;
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "aspeed,fmc";
			flash@0 {
				reg = < 0 >;
				compatible = "jedec,spi-nor" ;
				/*
				 * Possibly required props:
				 * spi-max-frequency = <>
				 * spi-tx-bus-width = <>
				 * spi-rx-bus-width  = <>
				 * m25p,fast-read
				 * spi-cpol if inverse clock polarity (CPOL)
				 * spi-cpha if shifted clock phase (CPHA)
				 */
#include "aspeed-bmc-opp-flash-layout.dtsi"
			};
		};
		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";
				/* spi-max-frequency = <>; */
				/* m25p,fast-read; */
			};
		};
		apb {
			i2c: i2c@1e78a040 {
				i2c4: i2c-bus@140 {
					occ@50 {
						compatible = "ibm,occ-i2c";
						reg = <0x50>;
					};
				};
				i2c5: i2c-bus@180 {
					occ@50 {
						compatible = "ibm,occ-i2c";
						reg = <0x50>;
					};
				};
				i2c10: i2c-bus@3c0 {
					status = "okay";
				};
				i2c11: i2c-bus@400 {
					status = "okay";

					rtc@68 {
						compatible = "dallas,ds3231";
						reg = <0x68>;
					};
				};
				i2c12: i2c-bus@440 {
					status = "okay";
				};
				i2c13: i2c-bus@480 {
					status = "okay";
				};
			};
		};
	};
};