Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "Iomega StorCenter ix2-200"; |
| 7 | compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 8 | |
| 9 | memory { |
| 10 | device_type = "memory"; |
| 11 | reg = <0x00000000 0x10000000>; |
| 12 | }; |
| 13 | |
| 14 | chosen { |
| 15 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 16 | }; |
| 17 | |
| 18 | ocp@f1000000 { |
| 19 | i2c@11000 { |
| 20 | status = "okay"; |
| 21 | |
| 22 | lm63: lm63@4c { |
| 23 | compatible = "national,lm63"; |
| 24 | reg = <0x4c>; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | serial@12000 { |
| 29 | clock-frequency = <200000000>; |
| 30 | status = "ok"; |
| 31 | }; |
| 32 | |
| 33 | nand@3000000 { |
| 34 | status = "okay"; |
| 35 | |
| 36 | partition@0 { |
| 37 | label = "u-boot"; |
| 38 | reg = <0x0000000 0x100000>; |
| 39 | read-only; |
| 40 | }; |
| 41 | |
| 42 | partition@a0000 { |
| 43 | label = "env"; |
| 44 | reg = <0xa0000 0x20000>; |
| 45 | read-only; |
| 46 | }; |
| 47 | |
| 48 | partition@100000 { |
| 49 | label = "uImage"; |
| 50 | reg = <0x100000 0x300000>; |
| 51 | }; |
| 52 | |
| 53 | partition@400000 { |
| 54 | label = "uInitrd"; |
| 55 | reg = <0x540000 0x1000000>; |
| 56 | }; |
| 57 | }; |
| 58 | sata@80000 { |
| 59 | status = "okay"; |
| 60 | nr-ports = <2>; |
| 61 | }; |
| 62 | |
| 63 | }; |
| 64 | gpio-leds { |
| 65 | compatible = "gpio-leds"; |
| 66 | |
| 67 | power_led { |
| 68 | label = "status:white:power_led"; |
| 69 | gpios = <&gpio0 16 0>; |
| 70 | linux,default-trigger = "default-on"; |
| 71 | }; |
| 72 | health_led1 { |
| 73 | label = "status:red:health_led"; |
| 74 | gpios = <&gpio1 5 0>; |
| 75 | }; |
| 76 | health_led2 { |
| 77 | label = "status:white:health_led"; |
| 78 | gpios = <&gpio1 4 0>; |
| 79 | }; |
| 80 | backup_led { |
| 81 | label = "status:blue:backup_led"; |
| 82 | gpios = <&gpio0 15 0>; |
| 83 | }; |
| 84 | }; |
| 85 | gpio-keys { |
| 86 | compatible = "gpio-keys"; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | Power { |
| 90 | label = "Power Button"; |
| 91 | linux,code = <116>; |
| 92 | gpios = <&gpio0 14 1>; |
| 93 | }; |
| 94 | Reset { |
| 95 | label = "Reset Button"; |
| 96 | linux,code = <0x198>; |
| 97 | gpios = <&gpio0 12 1>; |
| 98 | }; |
| 99 | OTB { |
| 100 | label = "OTB Button"; |
| 101 | linux,code = <133>; |
| 102 | gpios = <&gpio1 3 1>; |
| 103 | }; |
| 104 | }; |
| 105 | }; |