Willy Tarreau | 9b47a4f | 2012-12-09 19:40:04 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
| 4 | /include/ "kirkwood-6281.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "Globalscale Technologies Guruplug Server Plus"; |
| 8 | compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x20000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 17 | }; |
| 18 | |
| 19 | ocp@f1000000 { |
| 20 | pinctrl: pinctrl@10000 { |
Willy Tarreau | 9b47a4f | 2012-12-09 19:40:04 +0100 | [diff] [blame] | 21 | pmx_led_health_r: pmx-led-health-r { |
| 22 | marvell,pins = "mpp46"; |
| 23 | marvell,function = "gpio"; |
| 24 | }; |
| 25 | pmx_led_health_g: pmx-led-health-g { |
| 26 | marvell,pins = "mpp47"; |
| 27 | marvell,function = "gpio"; |
| 28 | }; |
| 29 | pmx_led_wmode_r: pmx-led-wmode-r { |
| 30 | marvell,pins = "mpp48"; |
| 31 | marvell,function = "gpio"; |
| 32 | }; |
| 33 | pmx_led_wmode_g: pmx-led-wmode-g { |
| 34 | marvell,pins = "mpp49"; |
| 35 | marvell,function = "gpio"; |
| 36 | }; |
| 37 | }; |
| 38 | serial@12000 { |
| 39 | clock-frequency = <200000000>; |
| 40 | status = "ok"; |
| 41 | }; |
| 42 | |
| 43 | nand@3000000 { |
| 44 | status = "okay"; |
| 45 | |
| 46 | partition@0 { |
| 47 | label = "u-boot"; |
| 48 | reg = <0x00000000 0x00100000>; |
| 49 | read-only; |
| 50 | }; |
| 51 | |
| 52 | partition@100000 { |
| 53 | label = "uImage"; |
| 54 | reg = <0x00100000 0x00400000>; |
| 55 | }; |
| 56 | |
| 57 | partition@500000 { |
| 58 | label = "data"; |
| 59 | reg = <0x00500000 0x1fb00000>; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | sata@80000 { |
| 64 | status = "okay"; |
| 65 | nr-ports = <1>; |
| 66 | }; |
Sebastian Hesselbarth | c52b95c | 2013-03-23 13:58:09 +0100 | [diff] [blame] | 67 | |
| 68 | mvsdio@90000 { |
| 69 | status = "okay"; |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 70 | /* No CD or WP GPIOs */ |
| 71 | broken-cd; |
Sebastian Hesselbarth | c52b95c | 2013-03-23 13:58:09 +0100 | [diff] [blame] | 72 | }; |
Willy Tarreau | 9b47a4f | 2012-12-09 19:40:04 +0100 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | gpio-leds { |
| 76 | compatible = "gpio-leds"; |
Thomas Petazzoni | d142432 | 2013-05-24 11:44:43 +0200 | [diff] [blame] | 77 | pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g |
| 78 | &pmx_led_wmode_r &pmx_led_wmode_g >; |
| 79 | pinctrl-names = "default"; |
Willy Tarreau | 9b47a4f | 2012-12-09 19:40:04 +0100 | [diff] [blame] | 80 | |
| 81 | health-r { |
| 82 | label = "guruplug:red:health"; |
| 83 | gpios = <&gpio1 14 1>; |
| 84 | }; |
| 85 | health-g { |
| 86 | label = "guruplug:green:health"; |
| 87 | gpios = <&gpio1 15 1>; |
| 88 | }; |
| 89 | wmode-r { |
| 90 | label = "guruplug:red:wmode"; |
| 91 | gpios = <&gpio1 16 1>; |
| 92 | }; |
| 93 | wmode-g { |
| 94 | label = "guruplug:green:wmode"; |
| 95 | gpios = <&gpio1 17 1>; |
| 96 | }; |
| 97 | }; |
| 98 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame^] | 99 | |
| 100 | &mdio { |
| 101 | status = "okay"; |
| 102 | |
| 103 | ethphy0: ethernet-phy@0 { |
| 104 | device_type = "ethernet-phy"; |
| 105 | compatible = "marvell,88e1121"; |
| 106 | reg = <0>; |
| 107 | }; |
| 108 | |
| 109 | ethphy1: ethernet-phy@1 { |
| 110 | device_type = "ethernet-phy"; |
| 111 | compatible = "marvell,88e1121"; |
| 112 | reg = <1>; |
| 113 | }; |
| 114 | }; |
| 115 | |
| 116 | ð0 { |
| 117 | status = "okay"; |
| 118 | ethernet0-port@0 { |
| 119 | phy-handle = <ðphy0>; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | ð1 { |
| 124 | status = "okay"; |
| 125 | ethernet1-port@0 { |
| 126 | phy-handle = <ðphy1>; |
| 127 | }; |
| 128 | }; |