Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
Andrew Lunn | 5694228 | 2012-11-17 17:00:50 +0100 | [diff] [blame] | 4 | /include/ "kirkwood-6281.dtsi" |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "Globalscale Technologies Dreamplug"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x20000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 17 | }; |
| 18 | |
Jason Cooper | 163f2ce | 2012-03-15 01:00:27 +0000 | [diff] [blame] | 19 | ocp@f1000000 { |
Andrew Lunn | 5694228 | 2012-11-17 17:00:50 +0100 | [diff] [blame] | 20 | pinctrl: pinctrl@10000 { |
| 21 | |
| 22 | pinctrl-0 = < &pmx_spi |
| 23 | &pmx_led_bluetooth &pmx_led_wifi |
| 24 | &pmx_led_wifi_ap >; |
| 25 | pinctrl-names = "default"; |
| 26 | |
| 27 | pmx_led_bluetooth: pmx-led-bluetooth { |
| 28 | marvell,pins = "mpp47"; |
| 29 | marvell,function = "gpio"; |
| 30 | }; |
| 31 | pmx_led_wifi: pmx-led-wifi { |
| 32 | marvell,pins = "mpp48"; |
| 33 | marvell,function = "gpio"; |
| 34 | }; |
| 35 | pmx_led_wifi_ap: pmx-led-wifi-ap { |
| 36 | marvell,pins = "mpp49"; |
| 37 | marvell,function = "gpio"; |
| 38 | }; |
| 39 | }; |
Jason Cooper | 163f2ce | 2012-03-15 01:00:27 +0000 | [diff] [blame] | 40 | serial@12000 { |
| 41 | clock-frequency = <200000000>; |
| 42 | status = "ok"; |
| 43 | }; |
Michael Walle | be2aa95 | 2012-06-06 20:40:30 +0200 | [diff] [blame] | 44 | |
| 45 | spi@10600 { |
| 46 | status = "okay"; |
| 47 | |
| 48 | m25p40@0 { |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <1>; |
| 51 | compatible = "mx25l1606e"; |
| 52 | reg = <0>; |
| 53 | spi-max-frequency = <50000000>; |
| 54 | mode = <0>; |
| 55 | |
| 56 | partition@0 { |
| 57 | reg = <0x0 0x80000>; |
| 58 | label = "u-boot"; |
| 59 | }; |
| 60 | |
| 61 | partition@100000 { |
| 62 | reg = <0x100000 0x10000>; |
| 63 | label = "u-boot env"; |
| 64 | }; |
| 65 | |
| 66 | partition@180000 { |
| 67 | reg = <0x180000 0x10000>; |
| 68 | label = "dtb"; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
Andrew Lunn | 2cef1a2 | 2012-06-10 16:58:11 +0200 | [diff] [blame] | 72 | |
| 73 | sata@80000 { |
| 74 | status = "okay"; |
| 75 | nr-ports = <1>; |
| 76 | }; |
Thomas Petazzoni | a49da46 | 2012-12-21 15:49:11 +0100 | [diff] [blame] | 77 | |
| 78 | mvsdio@90000 { |
| 79 | pinctrl-0 = <&pmx_sdio>; |
| 80 | pinctrl-names = "default"; |
| 81 | status = "okay"; |
| 82 | /* No CD or WP GPIOs */ |
| 83 | }; |
Jason Cooper | 759a451 | 2012-02-27 16:07:14 +0000 | [diff] [blame] | 84 | }; |
Michael Walle | be2aa95 | 2012-06-06 20:40:30 +0200 | [diff] [blame] | 85 | |
Andrew Lunn | b94a257 | 2012-07-17 07:55:37 +0200 | [diff] [blame] | 86 | gpio-leds { |
| 87 | compatible = "gpio-leds"; |
| 88 | |
| 89 | bluetooth { |
| 90 | label = "dreamplug:blue:bluetooth"; |
| 91 | gpios = <&gpio1 15 1>; |
| 92 | }; |
| 93 | wifi { |
| 94 | label = "dreamplug:green:wifi"; |
| 95 | gpios = <&gpio1 16 1>; |
| 96 | }; |
| 97 | wifi-ap { |
| 98 | label = "dreamplug:green:wifi_ap"; |
| 99 | gpios = <&gpio1 17 1>; |
| 100 | }; |
| 101 | }; |
Jason Cooper | 3d468b6 | 2012-02-27 16:07:13 +0000 | [diff] [blame] | 102 | }; |