Merge remote-tracking branch 'regulator/fix/lrg' into tmp
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / boot / dts / kizbox.dts
1 /*
2 * kizbox.dts - Device Tree file for Overkiz Kizbox board
3 *
4 * Copyright (C) 2012 Boris BREZILLON <linux-arm@overkiz.com>
5 *
6 * Licensed under GPLv2.
7 */
8 /dts-v1/;
9 /include/ "at91sam9g20.dtsi"
10
11 / {
12
13 model = "Overkiz kizbox";
14 compatible = "overkiz,kizbox", "atmel,at91sam9g20", "atmel,at91sam9";
15
16 chosen {
17 bootargs = "panic=5 ubi.mtd=1 rootfstype=ubifs root=ubi0:root";
18 };
19
20 memory {
21 reg = <0x20000000 0x2000000>;
22 };
23
24 clocks {
25 #address-cells = <1>;
26 #size-cells = <1>;
27 ranges;
28
29 main_clock: clock@0 {
30 compatible = "atmel,osc", "fixed-clock";
31 clock-frequency = <18432000>;
32 };
33 };
34
35 ahb {
36 apb {
37 dbgu: serial@fffff200 {
38 status = "okay";
39 };
40
41 usart0: serial@fffb0000 {
42 status = "okay";
43 };
44
45 usart1: serial@fffb4000 {
46 status = "okay";
47 };
48
49 macb0: ethernet@fffc4000 {
50 phy-mode = "mii";
51 pinctrl-0 = <&pinctrl_macb_rmii
52 &pinctrl_macb_rmii_mii_alt>;
53 status = "okay";
54 };
55
56 };
57
58 nand0: nand@40000000 {
59 nand-bus-width = <8>;
60 nand-ecc-mode = "soft";
61 status = "okay";
62
63 bootloaderkernel@0 {
64 label = "bootloader-kernel";
65 reg = <0x0 0xc0000>;
66 };
67
68 ubi@c0000 {
69 label = "ubi";
70 reg = <0xc0000 0x7f40000>;
71 };
72
73 };
74
75 usb0: ohci@00500000 {
76 num-ports = <1>;
77 status = "okay";
78 };
79 };
80
81 i2c@0 {
82 status = "okay";
83
84 pcf8563@51 {
85 /* nxp pcf8563 rtc */
86 compatible = "nxp,pcf8563";
87 reg = <0x51>;
88 };
89
90 };
91
92 leds {
93 compatible = "gpio-leds";
94
95 led1g {
96 label = "led1:green";
97 gpios = <&pioB 0 1>;
98 linux,default-trigger = "none";
99 };
100
101 led1r {
102 label = "led1:red";
103 gpios = <&pioB 1 1>;
104 linux,default-trigger = "none";
105 };
106
107 led2g {
108 label = "led2:green";
109 gpios = <&pioB 2 1>;
110 linux,default-trigger = "none";
111 default-state = "on";
112 };
113
114 led2r {
115 label = "led2:red";
116 gpios = <&pioB 3 1>;
117 linux,default-trigger = "none";
118 };
119 };
120
121 gpio_keys {
122 compatible = "gpio-keys";
123 #address-cells = <1>;
124 #size-cells = <0>;
125
126 reset {
127 label = "reset";
128 gpios = <&pioB 30 1>;
129 linux,code = <0x100>;
130 gpio-key,wakeup;
131 };
132
133 mode {
134 label = "mode";
135 gpios = <&pioB 31 1>;
136 linux,code = <0x101>;
137 gpio-key,wakeup;
138 };
139 };
140 };