Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 1 | /include/ "kirkwood.dtsi" |
Simon Guinot | 4ea931e | 2013-01-08 15:36:18 +0100 | [diff] [blame] | 2 | /include/ "kirkwood-6281.dtsi" |
Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 3 | |
| 4 | / { |
| 5 | chosen { |
| 6 | bootargs = "console=ttyS0,115200n8"; |
| 7 | }; |
| 8 | |
| 9 | ocp@f1000000 { |
Simon Guinot | 4ea931e | 2013-01-08 15:36:18 +0100 | [diff] [blame] | 10 | pinctrl: pinctrl@10000 { |
| 11 | pinctrl-0 = < &pmx_spi &pmx_twsi0 &pmx_uart0 |
| 12 | &pmx_ns2_sata0 &pmx_ns2_sata1>; |
| 13 | pinctrl-names = "default"; |
| 14 | |
| 15 | pmx_ns2_sata0: pmx-ns2-sata0 { |
| 16 | marvell,pins = "mpp21"; |
| 17 | marvell,function = "sata0"; |
| 18 | }; |
| 19 | pmx_ns2_sata1: pmx-ns2-sata1 { |
| 20 | marvell,pins = "mpp20"; |
| 21 | marvell,function = "sata1"; |
| 22 | }; |
| 23 | }; |
| 24 | |
Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 25 | serial@12000 { |
Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | spi@10600 { |
| 30 | status = "okay"; |
| 31 | |
| 32 | flash@0 { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | compatible = "mx25l4005a"; |
| 36 | reg = <0>; |
| 37 | spi-max-frequency = <20000000>; |
| 38 | mode = <0>; |
| 39 | |
| 40 | partition@0 { |
| 41 | reg = <0x0 0x80000>; |
| 42 | label = "u-boot"; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | i2c@11000 { |
| 48 | status = "okay"; |
| 49 | |
| 50 | eeprom@50 { |
| 51 | compatible = "at,24c04"; |
| 52 | pagesize = <16>; |
| 53 | reg = <0x50>; |
| 54 | }; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | gpio_keys { |
| 59 | compatible = "gpio-keys"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
| 62 | |
| 63 | button@1 { |
| 64 | label = "Power push button"; |
| 65 | linux,code = <116>; |
| 66 | gpios = <&gpio1 0 0>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | gpio-leds { |
| 71 | compatible = "gpio-leds"; |
| 72 | |
| 73 | red-fail { |
| 74 | label = "ns2:red:fail"; |
| 75 | gpios = <&gpio0 12 0>; |
| 76 | }; |
| 77 | }; |
Andrew Lunn | 102c954 | 2012-12-28 15:14:10 +0100 | [diff] [blame] | 78 | |
| 79 | gpio_poweroff { |
| 80 | compatible = "gpio-poweroff"; |
| 81 | gpios = <&gpio0 31 0>; |
| 82 | }; |
| 83 | |
Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 84 | }; |