Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 ST-Ericsson AB |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 13 | /include/ "db8500.dtsi" |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Calao Systems Snowball platform with device tree"; |
| 17 | compatible = "calaosystems,snowball-a9500"; |
| 18 | |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 19 | memory { |
| 20 | reg = <0x00000000 0x20000000>; |
| 21 | }; |
| 22 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 23 | gpio_keys { |
| 24 | compatible = "gpio-keys"; |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <0>; |
| 27 | |
| 28 | button@1 { |
| 29 | debounce_interval = <50>; |
| 30 | wakeup = <1>; |
| 31 | linux,code = <2>; |
| 32 | label = "userpb"; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 33 | gpios = <&gpio1 0 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 34 | }; |
| 35 | button@2 { |
| 36 | debounce_interval = <50>; |
| 37 | wakeup = <1>; |
| 38 | linux,code = <3>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 39 | label = "extkb1"; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 40 | gpios = <&gpio4 23 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 41 | }; |
| 42 | button@3 { |
| 43 | debounce_interval = <50>; |
| 44 | wakeup = <1>; |
| 45 | linux,code = <4>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 46 | label = "extkb2"; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 47 | gpios = <&gpio4 24 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 48 | }; |
| 49 | button@4 { |
| 50 | debounce_interval = <50>; |
| 51 | wakeup = <1>; |
| 52 | linux,code = <5>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 53 | label = "extkb3"; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 54 | gpios = <&gpio5 1 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 55 | }; |
| 56 | button@5 { |
| 57 | debounce_interval = <50>; |
| 58 | wakeup = <1>; |
| 59 | linux,code = <6>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 60 | label = "extkb4"; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 61 | gpios = <&gpio5 2 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 62 | }; |
| 63 | }; |
| 64 | |
| 65 | leds { |
| 66 | compatible = "gpio-leds"; |
| 67 | used-led { |
| 68 | label = "user_led"; |
| 69 | gpios = <&gpio4 14>; |
| 70 | }; |
| 71 | }; |
| 72 | |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 73 | soc-u9500 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 74 | |
| 75 | external-bus@50000000 { |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame^] | 76 | status = "okay"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 77 | |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame^] | 78 | ethernet@0 { |
| 79 | compatible = "smsc,lan9115"; |
| 80 | reg = <0 0x10000>; |
| 81 | interrupts = <12 0x1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 82 | interrupt-parent = <&gpio4>; |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame^] | 83 | |
| 84 | reg-shift = <1>; |
| 85 | reg-io-width = <2>; |
| 86 | smsc,force-internal-phy; |
| 87 | smsc,irq-active-high; |
| 88 | smsc,irq-push-pull; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 89 | }; |
| 90 | }; |
| 91 | |
| 92 | sdi@80126000 { |
| 93 | status = "enabled"; |
| 94 | cd-gpios = <&gpio6 26>; |
| 95 | }; |
| 96 | |
| 97 | sdi@80114000 { |
| 98 | status = "enabled"; |
| 99 | }; |
| 100 | |
Lee Jones | 4905af0 | 2012-03-07 17:35:04 +0000 | [diff] [blame] | 101 | uart@80120000 { |
| 102 | status = "okay"; |
| 103 | }; |
| 104 | |
| 105 | uart@80121000 { |
| 106 | status = "okay"; |
| 107 | }; |
| 108 | |
| 109 | uart@80007000 { |
| 110 | status = "okay"; |
| 111 | }; |
| 112 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 113 | i2c@80004000 { |
| 114 | tc3589x@42 { |
| 115 | //compatible = "tc3589x"; |
| 116 | reg = <0x42>; |
| 117 | interrupts = <25>; |
| 118 | interrupt-parent = <&gpio6>; |
| 119 | }; |
| 120 | tps61052@33 { |
| 121 | //compatible = "tps61052"; |
| 122 | reg = <0x33>; |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | i2c@80128000 { |
| 127 | lp5521@0x33 { |
| 128 | // compatible = "lp5521"; |
| 129 | reg = <0x33>; |
| 130 | }; |
| 131 | lp5521@0x34 { |
| 132 | // compatible = "lp5521"; |
| 133 | reg = <0x34>; |
| 134 | }; |
| 135 | bh1780@0x29 { |
| 136 | // compatible = "rohm,bh1780gli"; |
| 137 | reg = <0x33>; |
| 138 | }; |
| 139 | }; |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 140 | }; |
| 141 | }; |