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 | bc36748 | 2012-05-03 11:23:47 +0100 | [diff] [blame^] | 23 | en_3v3_reg: en_3v3 { |
| 24 | compatible = "regulator-fixed"; |
| 25 | regulator-name = "en-3v3-fixed-supply"; |
| 26 | regulator-min-microvolt = <3300000>; |
| 27 | regulator-max-microvolt = <3300000>; |
| 28 | gpios = <&gpio0 26 0x4>; // 26 |
| 29 | startup-delay-us = <5000>; |
| 30 | enable-active-high; |
| 31 | }; |
| 32 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 33 | gpio_keys { |
| 34 | compatible = "gpio-keys"; |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <0>; |
| 37 | |
| 38 | button@1 { |
| 39 | debounce_interval = <50>; |
| 40 | wakeup = <1>; |
| 41 | linux,code = <2>; |
| 42 | label = "userpb"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 43 | gpios = <&gpio1 0 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 44 | }; |
| 45 | button@2 { |
| 46 | debounce_interval = <50>; |
| 47 | wakeup = <1>; |
| 48 | linux,code = <3>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 49 | label = "extkb1"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 50 | gpios = <&gpio4 23 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 51 | }; |
| 52 | button@3 { |
| 53 | debounce_interval = <50>; |
| 54 | wakeup = <1>; |
| 55 | linux,code = <4>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 56 | label = "extkb2"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 57 | gpios = <&gpio4 24 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 58 | }; |
| 59 | button@4 { |
| 60 | debounce_interval = <50>; |
| 61 | wakeup = <1>; |
| 62 | linux,code = <5>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 63 | label = "extkb3"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 64 | gpios = <&gpio5 1 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 65 | }; |
| 66 | button@5 { |
| 67 | debounce_interval = <50>; |
| 68 | wakeup = <1>; |
| 69 | linux,code = <6>; |
Lee Jones | 3f3ed40 | 2012-04-13 15:05:07 +0100 | [diff] [blame] | 70 | label = "extkb4"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 71 | gpios = <&gpio5 2 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 72 | }; |
| 73 | }; |
| 74 | |
| 75 | leds { |
| 76 | compatible = "gpio-leds"; |
| 77 | used-led { |
| 78 | label = "user_led"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 79 | gpios = <&gpio4 14 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 80 | }; |
| 81 | }; |
| 82 | |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 83 | soc-u9500 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 84 | external-bus@50000000 { |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 85 | status = "okay"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 86 | |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 87 | ethernet@0 { |
| 88 | compatible = "smsc,lan9115"; |
| 89 | reg = <0 0x10000>; |
| 90 | interrupts = <12 0x1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 91 | interrupt-parent = <&gpio4>; |
Lee Jones | bc36748 | 2012-05-03 11:23:47 +0100 | [diff] [blame^] | 92 | vdd33a-supply = <&en_3v3_reg>; |
| 93 | vddvario-supply = <&db8500_vape_reg>; |
| 94 | |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 95 | |
| 96 | reg-shift = <1>; |
| 97 | reg-io-width = <2>; |
| 98 | smsc,force-internal-phy; |
| 99 | smsc,irq-active-high; |
| 100 | smsc,irq-push-pull; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 101 | }; |
| 102 | }; |
| 103 | |
| 104 | sdi@80126000 { |
| 105 | status = "enabled"; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 106 | cd-gpios = <&gpio6 26 0x4>; // 218 |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | sdi@80114000 { |
| 110 | status = "enabled"; |
| 111 | }; |
| 112 | |
Lee Jones | 4905af0 | 2012-03-07 17:35:04 +0000 | [diff] [blame] | 113 | uart@80120000 { |
| 114 | status = "okay"; |
| 115 | }; |
| 116 | |
| 117 | uart@80121000 { |
| 118 | status = "okay"; |
| 119 | }; |
| 120 | |
| 121 | uart@80007000 { |
| 122 | status = "okay"; |
| 123 | }; |
| 124 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 125 | i2c@80004000 { |
| 126 | tc3589x@42 { |
| 127 | //compatible = "tc3589x"; |
| 128 | reg = <0x42>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 129 | gpios = <&gpio6 25 0x4>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 130 | interrupt-parent = <&gpio6>; |
| 131 | }; |
| 132 | tps61052@33 { |
| 133 | //compatible = "tps61052"; |
| 134 | reg = <0x33>; |
| 135 | }; |
| 136 | }; |
| 137 | |
| 138 | i2c@80128000 { |
| 139 | lp5521@0x33 { |
| 140 | // compatible = "lp5521"; |
| 141 | reg = <0x33>; |
| 142 | }; |
| 143 | lp5521@0x34 { |
| 144 | // compatible = "lp5521"; |
| 145 | reg = <0x34>; |
| 146 | }; |
| 147 | bh1780@0x29 { |
| 148 | // compatible = "rohm,bh1780gli"; |
| 149 | reg = <0x33>; |
| 150 | }; |
| 151 | }; |
Arnd Bergmann | 2d33429 | 2012-03-07 15:04:07 +0000 | [diff] [blame] | 152 | }; |
| 153 | }; |