Simon Guinot | ecee1e4 | 2012-10-17 12:09:04 +0200 | [diff] [blame] | 1 | /include/ "kirkwood.dtsi" |
| 2 | |
| 3 | / { |
| 4 | chosen { |
| 5 | bootargs = "console=ttyS0,115200n8"; |
| 6 | }; |
| 7 | |
| 8 | ocp@f1000000 { |
| 9 | serial@12000 { |
| 10 | clock-frequency = <166666667>; |
| 11 | status = "okay"; |
| 12 | }; |
| 13 | |
| 14 | spi@10600 { |
| 15 | status = "okay"; |
| 16 | |
| 17 | flash@0 { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | compatible = "mx25l4005a"; |
| 21 | reg = <0>; |
| 22 | spi-max-frequency = <20000000>; |
| 23 | mode = <0>; |
| 24 | |
| 25 | partition@0 { |
| 26 | reg = <0x0 0x80000>; |
| 27 | label = "u-boot"; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | i2c@11000 { |
| 33 | status = "okay"; |
| 34 | |
| 35 | eeprom@50 { |
| 36 | compatible = "at,24c04"; |
| 37 | pagesize = <16>; |
| 38 | reg = <0x50>; |
| 39 | }; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | gpio_keys { |
| 44 | compatible = "gpio-keys"; |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
| 48 | button@1 { |
| 49 | label = "Power push button"; |
| 50 | linux,code = <116>; |
| 51 | gpios = <&gpio1 0 0>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | gpio-leds { |
| 56 | compatible = "gpio-leds"; |
| 57 | |
| 58 | red-fail { |
| 59 | label = "ns2:red:fail"; |
| 60 | gpios = <&gpio0 12 0>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |