Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Adam Baker | 76a93dc | 2014-04-08 23:34:32 +0100 | [diff] [blame] | 3 | #include "kirkwood-nsa3x0-common.dtsi" |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 4 | |
| 5 | /* |
| 6 | * There are at least two different NSA310 designs. This variant does |
| 7 | * not have the red USB Led. |
| 8 | */ |
| 9 | |
| 10 | / { |
| 11 | compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 12 | |
| 13 | memory { |
| 14 | device_type = "memory"; |
| 15 | reg = <0x00000000 0x10000000>; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | bootargs = "console=ttyS0,115200"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 20 | stdout-path = &uart0; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 24 | pinctrl: pin-controller@10000 { |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 25 | pinctrl-names = "default"; |
| 26 | |
| 27 | pmx_led_esata_green: pmx-led-esata-green { |
| 28 | marvell,pins = "mpp12"; |
| 29 | marvell,function = "gpio"; |
| 30 | }; |
| 31 | |
| 32 | pmx_led_esata_red: pmx-led-esata-red { |
| 33 | marvell,pins = "mpp13"; |
| 34 | marvell,function = "gpio"; |
| 35 | }; |
| 36 | |
| 37 | pmx_led_usb_green: pmx-led-usb-green { |
| 38 | marvell,pins = "mpp15"; |
| 39 | marvell,function = "gpio"; |
| 40 | }; |
| 41 | |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 42 | pmx_led_sys_green: pmx-led-sys-green { |
| 43 | marvell,pins = "mpp28"; |
| 44 | marvell,function = "gpio"; |
| 45 | }; |
| 46 | |
| 47 | pmx_led_sys_red: pmx-led-sys-red { |
| 48 | marvell,pins = "mpp29"; |
| 49 | marvell,function = "gpio"; |
| 50 | }; |
| 51 | |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 52 | pmx_led_hdd_green: pmx-led-hdd-green { |
| 53 | marvell,pins = "mpp41"; |
| 54 | marvell,function = "gpio"; |
| 55 | }; |
| 56 | |
| 57 | pmx_led_hdd_red: pmx-led-hdd-red { |
| 58 | marvell,pins = "mpp42"; |
| 59 | marvell,function = "gpio"; |
| 60 | }; |
| 61 | |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | i2c@11000 { |
| 65 | status = "okay"; |
| 66 | |
| 67 | lm85: lm85@2e { |
Andrew Lunn | dcdf9cf | 2014-03-22 13:46:00 +0100 | [diff] [blame] | 68 | compatible = "national,lm85"; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 69 | reg = <0x2e>; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
| 73 | |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 74 | gpio-leds { |
| 75 | compatible = "gpio-leds"; |
| 76 | |
| 77 | green-sys { |
| 78 | label = "nsa310:green:sys"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 79 | gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 80 | }; |
| 81 | red-sys { |
| 82 | label = "nsa310:red:sys"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 83 | gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 84 | }; |
| 85 | green-hdd { |
| 86 | label = "nsa310:green:hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 87 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 88 | }; |
| 89 | red-hdd { |
| 90 | label = "nsa310:red:hdd"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 91 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 92 | }; |
| 93 | green-esata { |
| 94 | label = "nsa310:green:esata"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 95 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 96 | }; |
| 97 | red-esata { |
| 98 | label = "nsa310:red:esata"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 99 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 100 | }; |
| 101 | green-usb { |
| 102 | label = "nsa310:green:usb"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 103 | gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 104 | }; |
| 105 | green-copy { |
| 106 | label = "nsa310:green:copy"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 107 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 108 | }; |
| 109 | red-copy { |
| 110 | label = "nsa310:red:copy"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 111 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | eee47b7 | 2013-07-17 18:51:49 +0200 | [diff] [blame] | 112 | }; |
| 113 | }; |
| 114 | }; |