Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 1 | /include/ "kirkwood.dtsi" |
| 2 | |
| 3 | / { |
| 4 | chosen { |
| 5 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 6 | }; |
| 7 | |
| 8 | ocp@f1000000 { |
| 9 | sata@80000 { |
| 10 | status = "okay"; |
| 11 | nr-ports = <1>; |
| 12 | }; |
| 13 | |
| 14 | spi@10600 { |
| 15 | status = "okay"; |
| 16 | |
| 17 | m25p40@0 { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | compatible = "m25p40"; |
| 21 | reg = <0>; |
| 22 | spi-max-frequency = <25000000>; |
| 23 | mode = <0>; |
| 24 | |
| 25 | partition@0 { |
| 26 | reg = <0x0 0x60000>; |
| 27 | label = "uboot"; |
| 28 | read-only; |
| 29 | }; |
| 30 | |
| 31 | partition@60000 { |
| 32 | reg = <0x60000 0x10000>; |
| 33 | label = "dtb"; |
| 34 | read-only; |
| 35 | }; |
| 36 | |
| 37 | partition@70000 { |
| 38 | reg = <0x70000 0x10000>; |
| 39 | label = "uboot_env"; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | gpio_keys { |
| 46 | compatible = "gpio-keys"; |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <0>; |
| 49 | button@1 { |
| 50 | label = "Function Button"; |
Michael Walle | 1243163 | 2012-09-27 23:54:37 +0200 | [diff] [blame] | 51 | linux,code = <357>; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 52 | gpios = <&gpio1 9 1>; |
| 53 | }; |
| 54 | button@2 { |
| 55 | label = "Power-on Switch"; |
Michael Walle | 1243163 | 2012-09-27 23:54:37 +0200 | [diff] [blame] | 56 | linux,code = <0>; |
| 57 | linux,input-type = <5>; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 58 | gpios = <&gpio1 10 1>; |
| 59 | }; |
| 60 | button@3 { |
| 61 | label = "Power-auto Switch"; |
Michael Walle | 1243163 | 2012-09-27 23:54:37 +0200 | [diff] [blame] | 62 | linux,code = <1>; |
| 63 | linux,input-type = <5>; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 64 | gpios = <&gpio1 11 1>; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | gpio_leds { |
| 69 | compatible = "gpio-leds"; |
| 70 | |
| 71 | led@1 { |
Michael Walle | a54841e | 2012-09-24 22:49:02 +0200 | [diff] [blame] | 72 | label = "lsxl:blue:func"; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 73 | gpios = <&gpio1 4 1>; |
| 74 | }; |
| 75 | |
| 76 | led@2 { |
Michael Walle | a54841e | 2012-09-24 22:49:02 +0200 | [diff] [blame] | 77 | label = "lsxl:red:alarm"; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 78 | gpios = <&gpio1 5 1>; |
| 79 | }; |
| 80 | |
| 81 | led@3 { |
Michael Walle | a54841e | 2012-09-24 22:49:02 +0200 | [diff] [blame] | 82 | label = "lsxl:amber:info"; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 83 | gpios = <&gpio1 6 1>; |
| 84 | }; |
| 85 | |
| 86 | led@4 { |
Michael Walle | a54841e | 2012-09-24 22:49:02 +0200 | [diff] [blame] | 87 | label = "lsxl:blue:power"; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 88 | gpios = <&gpio1 7 1>; |
| 89 | linux,default-trigger = "default-on"; |
| 90 | }; |
| 91 | |
| 92 | led@5 { |
Michael Walle | a54841e | 2012-09-24 22:49:02 +0200 | [diff] [blame] | 93 | label = "lsxl:red:func"; |
Michael Walle | 4aff38a | 2012-07-17 07:25:55 +0200 | [diff] [blame] | 94 | gpios = <&gpio1 16 1>; |
| 95 | }; |
| 96 | }; |
| 97 | }; |