Jason Cooper | 767fc1e | 2012-10-22 02:15:35 +0000 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "Univeral Scientific Industrial Co. Topkick-1281P2"; |
| 7 | compatible = "usi,topkick-1281P2", "usi,topkick", "marvell,kirkwood-88f6282", "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 | serial@12000 { |
| 20 | clock-frequency = <200000000>; |
| 21 | status = "ok"; |
| 22 | }; |
| 23 | |
| 24 | nand@3000000 { |
| 25 | status = "okay"; |
| 26 | |
| 27 | partition@0 { |
| 28 | label = "u-boot"; |
| 29 | reg = <0x0000000 0x180000>; |
| 30 | }; |
| 31 | |
| 32 | partition@180000 { |
| 33 | label = "u-boot env"; |
| 34 | reg = <0x0180000 0x20000>; |
| 35 | }; |
| 36 | |
| 37 | partition@200000 { |
| 38 | label = "uImage"; |
| 39 | reg = <0x0200000 0x600000>; |
| 40 | }; |
| 41 | |
| 42 | partition@800000 { |
| 43 | label = "uInitrd"; |
| 44 | reg = <0x0800000 0x1000000>; |
| 45 | }; |
| 46 | |
| 47 | partition@1800000 { |
| 48 | label = "rootfs"; |
| 49 | reg = <0x1800000 0xe800000>; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | sata@80000 { |
| 54 | status = "okay"; |
| 55 | nr-ports = <1>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | gpio-leds { |
| 60 | compatible = "gpio-leds"; |
| 61 | |
| 62 | disk { |
| 63 | label = "topkick:yellow:disk"; |
| 64 | gpios = <&gpio0 21 1>; |
| 65 | linux,default-trigger = "ide-disk"; |
| 66 | }; |
| 67 | system2 { |
| 68 | label = "topkick:red:system"; |
| 69 | gpios = <&gpio1 5 1>; |
| 70 | }; |
| 71 | system { |
| 72 | label = "topkick:blue:system"; |
| 73 | gpios = <&gpio1 6 1>; |
| 74 | default-state = "on"; |
| 75 | }; |
| 76 | wifi { |
| 77 | label = "topkick:green:wifi"; |
| 78 | gpios = <&gpio1 7 1>; |
| 79 | }; |
| 80 | wifi2 { |
| 81 | label = "topkick:yellow:wifi"; |
| 82 | gpios = <&gpio1 16 1>; |
| 83 | }; |
| 84 | }; |
Andrew Lunn | 8758c88 | 2013-01-06 11:10:38 +0100 | [diff] [blame] | 85 | regulators { |
| 86 | compatible = "simple-bus"; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | |
| 90 | sata0_power: regulator@1 { |
| 91 | compatible = "regulator-fixed"; |
| 92 | reg = <1>; |
| 93 | regulator-name = "SATA0 Power"; |
| 94 | regulator-min-microvolt = <5000000>; |
| 95 | regulator-max-microvolt = <5000000>; |
| 96 | enable-active-high; |
| 97 | regulator-always-on; |
| 98 | regulator-boot-on; |
| 99 | gpio = <&gpio1 4 0>; |
| 100 | }; |
| 101 | }; |
Jason Cooper | 767fc1e | 2012-10-22 02:15:35 +0000 | [diff] [blame] | 102 | }; |