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 { |
| 26 | clock-frequency = <166666667>; |
| 27 | status = "okay"; |
| 28 | }; |
| 29 | |
| 30 | spi@10600 { |
| 31 | status = "okay"; |
| 32 | |
| 33 | flash@0 { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | compatible = "mx25l4005a"; |
| 37 | reg = <0>; |
| 38 | spi-max-frequency = <20000000>; |
| 39 | mode = <0>; |
| 40 | |
| 41 | partition@0 { |
| 42 | reg = <0x0 0x80000>; |
| 43 | label = "u-boot"; |
| 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | i2c@11000 { |
| 49 | status = "okay"; |
| 50 | |
| 51 | eeprom@50 { |
| 52 | compatible = "at,24c04"; |
| 53 | pagesize = <16>; |
| 54 | reg = <0x50>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | gpio_keys { |
| 60 | compatible = "gpio-keys"; |
| 61 | #address-cells = <1>; |
| 62 | #size-cells = <0>; |
| 63 | |
| 64 | button@1 { |
| 65 | label = "Power push button"; |
| 66 | linux,code = <116>; |
| 67 | gpios = <&gpio1 0 0>; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | gpio-leds { |
| 72 | compatible = "gpio-leds"; |
| 73 | |
| 74 | red-fail { |
| 75 | label = "ns2:red:fail"; |
| 76 | gpios = <&gpio0 12 0>; |
| 77 | }; |
| 78 | }; |
| 79 | }; |