Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.17-rc2 229 lines 4.6 kB view raw
1/* 2 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 */ 14 15/dts-v1/; 16#include "rk3188.dtsi" 17 18/ { 19 model = "Radxa Rock"; 20 compatible = "radxa,rock", "rockchip,rk3188"; 21 22 memory { 23 reg = <0x60000000 0x80000000>; 24 }; 25 26 gpio-keys { 27 compatible = "gpio-keys"; 28 #address-cells = <1>; 29 #size-cells = <0>; 30 autorepeat; 31 32 button@0 { 33 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 34 linux,code = <116>; 35 label = "GPIO Key Power"; 36 linux,input-type = <1>; 37 gpio-key,wakeup = <1>; 38 debounce-interval = <100>; 39 }; 40 }; 41 42 gpio-leds { 43 compatible = "gpio-leds"; 44 45 green { 46 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 47 default-state = "off"; 48 }; 49 50 yellow { 51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 52 default-state = "off"; 53 }; 54 55 sleep { 56 gpios = <&gpio0 15 0>; 57 default-state = "off"; 58 }; 59 }; 60 61 ir_recv: gpio-ir-receiver { 62 compatible = "gpio-ir-receiver"; 63 gpios = <&gpio0 10 1>; 64 pinctrl-names = "default"; 65 pinctrl-0 = <&ir_recv_pin>; 66 }; 67 68 vcc_sd0: sdmmc-regulator { 69 compatible = "regulator-fixed"; 70 regulator-name = "sdmmc-supply"; 71 regulator-min-microvolt = <3300000>; 72 regulator-max-microvolt = <3300000>; 73 gpio = <&gpio3 1 GPIO_ACTIVE_LOW>; 74 startup-delay-us = <100000>; 75 vin-supply = <&vcc_io>; 76 }; 77}; 78 79&i2c1 { 80 status = "okay"; 81 clock-frequency = <400000>; 82 83 act8846: act8846@5a { 84 compatible = "active-semi,act8846"; 85 reg = <0x5a>; 86 status = "okay"; 87 88 pinctrl-names = "default"; 89 pinctrl-0 = <&act8846_dvs0_ctl>; 90 91 regulators { 92 vcc_ddr: REG1 { 93 regulator-name = "VCC_DDR"; 94 regulator-min-microvolt = <1200000>; 95 regulator-max-microvolt = <1200000>; 96 regulator-always-on; 97 }; 98 99 vdd_log: REG2 { 100 regulator-name = "VDD_LOG"; 101 regulator-min-microvolt = <1000000>; 102 regulator-max-microvolt = <1000000>; 103 regulator-always-on; 104 }; 105 106 vdd_arm: REG3 { 107 regulator-name = "VDD_ARM"; 108 regulator-min-microvolt = <875000>; 109 regulator-max-microvolt = <1300000>; 110 regulator-always-on; 111 }; 112 113 vcc_io: REG4 { 114 regulator-name = "VCC_IO"; 115 regulator-min-microvolt = <3300000>; 116 regulator-max-microvolt = <3300000>; 117 regulator-always-on; 118 }; 119 120 vdd_10: REG5 { 121 regulator-name = "VDD_10"; 122 regulator-min-microvolt = <1000000>; 123 regulator-max-microvolt = <1000000>; 124 regulator-always-on; 125 }; 126 127 vdd_hdmi: REG6 { 128 regulator-name = "VDD_HDMI"; 129 regulator-min-microvolt = <2500000>; 130 regulator-max-microvolt = <2500000>; 131 regulator-always-on; 132 }; 133 134 vcc18: REG7 { 135 regulator-name = "VCC_18"; 136 regulator-min-microvolt = <1800000>; 137 regulator-max-microvolt = <1800000>; 138 regulator-always-on; 139 }; 140 141 vcca_33: REG8 { 142 regulator-name = "VCCA_33"; 143 regulator-min-microvolt = <3300000>; 144 regulator-max-microvolt = <3300000>; 145 regulator-always-on; 146 }; 147 148 vcc_rmii: REG9 { 149 regulator-name = "VCC_RMII"; 150 regulator-min-microvolt = <3300000>; 151 regulator-max-microvolt = <3300000>; 152 regulator-always-on; 153 }; 154 155 vccio_wl: REG10 { 156 regulator-name = "VCCIO_WL"; 157 regulator-min-microvolt = <3300000>; 158 regulator-max-microvolt = <3300000>; 159 regulator-always-on; 160 }; 161 162 vcc_18: REG11 { 163 regulator-name = "VCC18_IO"; 164 regulator-min-microvolt = <1800000>; 165 regulator-max-microvolt = <1800000>; 166 regulator-always-on; 167 }; 168 169 vcc28: REG12 { 170 regulator-name = "VCC_28"; 171 regulator-min-microvolt = <2800000>; 172 regulator-max-microvolt = <2800000>; 173 regulator-always-on; 174 }; 175 }; 176 }; 177}; 178 179&mmc0 { 180 num-slots = <1>; 181 status = "okay"; 182 pinctrl-names = "default"; 183 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; 184 vmmc-supply = <&vcc_sd0>; 185 186 slot@0 { 187 reg = <0>; 188 bus-width = <4>; 189 disable-wp; 190 }; 191}; 192 193&pinctrl { 194 pcfg_output_low: pcfg-output-low { 195 output-low; 196 }; 197 198 act8846 { 199 act8846_dvs0_ctl: act8846-dvs0-ctl { 200 rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>; 201 }; 202 }; 203 204 ir-receiver { 205 ir_recv_pin: ir-recv-pin { 206 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; 207 }; 208 }; 209}; 210 211&uart0 { 212 status = "okay"; 213}; 214 215&uart1 { 216 status = "okay"; 217}; 218 219&uart2 { 220 status = "okay"; 221}; 222 223&uart3 { 224 status = "okay"; 225}; 226 227&wdt { 228 status = "okay"; 229};