Commit | Line | Data |
---|---|---|
3d468b6d JC |
1 | /dts-v1/; |
2 | ||
3 | /include/ "kirkwood.dtsi" | |
56942287 | 4 | /include/ "kirkwood-6281.dtsi" |
3d468b6d JC |
5 | |
6 | / { | |
7 | model = "Globalscale Technologies Dreamplug"; | |
77843504 | 8 | compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
3d468b6d JC |
9 | |
10 | memory { | |
11 | device_type = "memory"; | |
12 | reg = <0x00000000 0x20000000>; | |
13 | }; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
17 | }; | |
18 | ||
163f2cea | 19 | ocp@f1000000 { |
56942287 | 20 | pinctrl: pinctrl@10000 { |
56942287 AL |
21 | pmx_led_bluetooth: pmx-led-bluetooth { |
22 | marvell,pins = "mpp47"; | |
23 | marvell,function = "gpio"; | |
24 | }; | |
25 | pmx_led_wifi: pmx-led-wifi { | |
26 | marvell,pins = "mpp48"; | |
27 | marvell,function = "gpio"; | |
28 | }; | |
29 | pmx_led_wifi_ap: pmx-led-wifi-ap { | |
30 | marvell,pins = "mpp49"; | |
31 | marvell,function = "gpio"; | |
32 | }; | |
33 | }; | |
163f2cea | 34 | serial@12000 { |
163f2cea JC |
35 | status = "ok"; |
36 | }; | |
be2aa956 MW |
37 | |
38 | spi@10600 { | |
39 | status = "okay"; | |
16f37ecc TP |
40 | pinctrl-0 = <&pmx_spi>; |
41 | pinctrl-names = "default"; | |
be2aa956 MW |
42 | |
43 | m25p40@0 { | |
44 | #address-cells = <1>; | |
45 | #size-cells = <1>; | |
46 | compatible = "mx25l1606e"; | |
47 | reg = <0>; | |
48 | spi-max-frequency = <50000000>; | |
49 | mode = <0>; | |
50 | ||
51 | partition@0 { | |
52 | reg = <0x0 0x80000>; | |
53 | label = "u-boot"; | |
54 | }; | |
55 | ||
56 | partition@100000 { | |
57 | reg = <0x100000 0x10000>; | |
58 | label = "u-boot env"; | |
59 | }; | |
60 | ||
61 | partition@180000 { | |
62 | reg = <0x180000 0x10000>; | |
63 | label = "dtb"; | |
64 | }; | |
65 | }; | |
66 | }; | |
2cef1a28 AL |
67 | |
68 | sata@80000 { | |
69 | status = "okay"; | |
70 | nr-ports = <1>; | |
71 | }; | |
a49da46c TP |
72 | |
73 | mvsdio@90000 { | |
74 | pinctrl-0 = <&pmx_sdio>; | |
75 | pinctrl-names = "default"; | |
76 | status = "okay"; | |
77 | /* No CD or WP GPIOs */ | |
d87b5fbb | 78 | broken-cd; |
a49da46c | 79 | }; |
759a4518 | 80 | }; |
be2aa956 | 81 | |
b94a257c AL |
82 | gpio-leds { |
83 | compatible = "gpio-leds"; | |
16f37ecc TP |
84 | pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi |
85 | &pmx_led_wifi_ap >; | |
86 | pinctrl-names = "default"; | |
b94a257c AL |
87 | |
88 | bluetooth { | |
89 | label = "dreamplug:blue:bluetooth"; | |
90 | gpios = <&gpio1 15 1>; | |
91 | }; | |
92 | wifi { | |
93 | label = "dreamplug:green:wifi"; | |
94 | gpios = <&gpio1 16 1>; | |
95 | }; | |
96 | wifi-ap { | |
97 | label = "dreamplug:green:wifi_ap"; | |
98 | gpios = <&gpio1 17 1>; | |
99 | }; | |
100 | }; | |
3d468b6d | 101 | }; |