summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
blob: 865aeec40a268da8f2a0b2ab3416ccbad4da90f5 (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
/dts-v1/;

/include/ "kirkwood.dtsi"

/ {
	model = "Iomega StorCenter ix2-200";
	compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood";

	memory {
		device_type = "memory";
		reg = <0x00000000 0x10000000>;
	};

	chosen {
		bootargs = "console=ttyS0,115200n8 earlyprintk";
	};

	ocp@f1000000 {
		i2c@11000 {
			status = "okay";

			lm63: lm63@4c {
				compatible = "national,lm63";
				reg = <0x4c>;
			};
		};

		serial@12000 {
			clock-frequency = <200000000>;
			status = "ok";
		};

		nand@3000000 {
			status = "okay";

			partition@0 {
				label = "u-boot";
				reg = <0x0000000 0x100000>;
				read-only;
			};

			partition@a0000 {
				label = "env";
				reg = <0xa0000 0x20000>;
				read-only;
			};

			partition@100000 {
				label = "uImage";
				reg = <0x100000 0x300000>;
			};

			partition@400000 {
				label = "uInitrd";
				reg = <0x540000 0x1000000>;
			};
		};
		sata@80000 {
			status = "okay";
			nr-ports = <2>;
		};

	};
	gpio-leds {
		compatible = "gpio-leds";

		power_led {
			label = "status:white:power_led";
			gpios = <&gpio0 16 0>;
			linux,default-trigger = "default-on";
		};
		health_led1 {
			label = "status:red:health_led";
			gpios = <&gpio1 5 0>;
		};
		health_led2 {
			label = "status:white:health_led";
			gpios = <&gpio1 4 0>;
		};
		backup_led {
			label = "status:blue:backup_led";
			gpios = <&gpio0 15 0>;
		};
	};
	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		Power {
			label = "Power Button";
			linux,code = <116>;
			gpios = <&gpio0 14 1>;
		};
		Reset {
			label = "Reset Button";
			linux,code = <0x198>;
			gpios = <&gpio0 12 1>;
		};
		OTB {
			label = "OTB Button";
			linux,code = <133>;
			gpios = <&gpio1 3 1>;
		};
	};
};