summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-ib62x0.dts
blob: 66794ed75ff1d3162dc8a567b7f36b37c020b1f2 (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
/dts-v1/;

/include/ "kirkwood.dtsi"

/ {
	model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
	compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0",  "marvell,kirkwood-88f6281", "marvell,kirkwood";

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

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

	ocp@f1000000 {
		serial@12000 {
			clock-frequency = <200000000>;
			status = "okay";
		};

		sata@80000 {
			status = "okay";
			nr-ports = <2>;
		};

		nand@3000000 {
			status = "okay";

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

			partition@100000 {
				label = "uImage";
				reg = <0x0100000 0x600000>;
			};

			partition@700000 {
				label = "root";
				reg = <0x0700000 0xf900000>;
			};

		};
	};

	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		button@1 {
			label = "USB Copy";
			linux,code = <133>;
			gpios = <&gpio0 29 1>;
		};
		button@2 {
			label = "Reset";
			linux,code = <0x198>;
			gpios = <&gpio0 28 1>;
		};
	};
	gpio-leds {
		compatible = "gpio-leds";

		green-os {
			label = "ib62x0:green:os";
			gpios = <&gpio0 25 0>;
			linux,default-trigger = "default-on";
		};
		red-os {
			label = "ib62x0:red:os";
			gpios = <&gpio0 22 0>;
		};
		usb-copy {
			label = "ib62x0:red:usb_copy";
			gpios = <&gpio0 27 0>;
		};
	};
};
OpenPOWER on IntegriCloud