Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 
0003 /dts-v1/;
0004 
0005 #include "rv1108.dtsi"
0006 
0007 / {
0008         model = "Rockchip RV1108 Evaluation board";
0009         compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
0010 
0011         aliases {
0012                 mmc0 = &sdmmc;
0013         };
0014 
0015         memory@60000000 {
0016                 device_type = "memory";
0017                 reg = <0x60000000 0x08000000>;
0018         };
0019 
0020         chosen {
0021                 stdout-path = "serial2:1500000n8";
0022         };
0023 
0024         backlight: backlight {
0025                 compatible = "pwm-backlight";
0026                 brightness-levels = <
0027                           0   1   2   3   4   5   6   7
0028                           8   9  10  11  12  13  14  15
0029                          16  17  18  19  20  21  22  23
0030                          24  25  26  27  28  29  30  31
0031                          32  33  34  35  36  37  38  39
0032                          40  41  42  43  44  45  46  47
0033                          48  49  50  51  52  53  54  55
0034                          56  57  58  59  60  61  62  63
0035                          64  65  66  67  68  69  70  71
0036                          72  73  74  75  76  77  78  79
0037                          80  81  82  83  84  85  86  87
0038                          88  89  90  91  92  93  94  95
0039                          96  97  98  99 100 101 102 103
0040                         104 105 106 107 108 109 110 111
0041                         112 113 114 115 116 117 118 119
0042                         120 121 122 123 124 125 126 127
0043                         128 129 130 131 132 133 134 135
0044                         136 137 138 139 140 141 142 143
0045                         144 145 146 147 148 149 150 151
0046                         152 153 154 155 156 157 158 159
0047                         160 161 162 163 164 165 166 167
0048                         168 169 170 171 172 173 174 175
0049                         176 177 178 179 180 181 182 183
0050                         184 185 186 187 188 189 190 191
0051                         192 193 194 195 196 197 198 199
0052                         200 201 202 203 204 205 206 207
0053                         208 209 210 211 212 213 214 215
0054                         216 217 218 219 220 221 222 223
0055                         224 225 226 227 228 229 230 231
0056                         232 233 234 235 236 237 238 239
0057                         240 241 242 243 244 245 246 247
0058                         248 249 250 251 252 253 254 255>;
0059                 default-brightness-level = <200>;
0060                 pwms = <&pwm0 0 25000 0>;
0061         };
0062 
0063         vcc_sys: vsys-regulator {
0064                 compatible = "regulator-fixed";
0065                 regulator-name = "vsys";
0066                 regulator-min-microvolt = <5000000>;
0067                 regulator-max-microvolt = <5000000>;
0068                 regulator-boot-on;
0069         };
0070 };
0071 
0072 &cpu0 {
0073         cpu-supply = <&vdd_core>;
0074 };
0075 
0076 &i2c0 {
0077         status = "okay";
0078         i2c-scl-rising-time-ns = <275>;
0079         i2c-scl-falling-time-ns = <16>;
0080         clock-frequency = <400000>;
0081 
0082         rk805: pmic@18 {
0083                 compatible = "rockchip,rk805";
0084                 reg = <0x18>;
0085                 interrupt-parent = <&gpio0>;
0086                 interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
0087                 rockchip,system-power-controller;
0088                 #clock-cells = <0>;
0089 
0090                 vcc1-supply = <&vcc_sys>;
0091                 vcc2-supply = <&vcc_sys>;
0092                 vcc3-supply = <&vcc_sys>;
0093                 vcc4-supply = <&vcc_sys>;
0094                 vcc5-supply = <&vcc_sys>;
0095                 vcc6-supply = <&vcc_sys>;
0096 
0097                 regulators {
0098                         vdd_core: DCDC_REG1 {
0099                                 regulator-name = "vdd_core";
0100                                 regulator-min-microvolt = <700000>;
0101                                 regulator-max-microvolt = <1500000>;
0102                                 regulator-always-on;
0103                                 regulator-boot-on;
0104                                 regulator-state-mem {
0105                                         regulator-on-in-suspend;
0106                                         regulator-suspend-microvolt = <900000>;
0107                                 };
0108                         };
0109 
0110                         vdd_cam: DCDC_REG2 {
0111                                 regulator-name = "vdd_cam";
0112                                 regulator-min-microvolt = <700000>;
0113                                 regulator-max-microvolt = <2000000>;
0114                                 regulator-state-mem {
0115                                         regulator-off-in-suspend;
0116                                 };
0117                         };
0118 
0119                         vcc_ddr: DCDC_REG3 {
0120                                 regulator-name = "vcc_ddr";
0121                                 regulator-always-on;
0122                                 regulator-boot-on;
0123                                 regulator-state-mem {
0124                                         regulator-on-in-suspend;
0125                                 };
0126                         };
0127 
0128                         vcc_io: DCDC_REG4 {
0129                                 regulator-name = "vcc_io";
0130                                 regulator-min-microvolt = <3300000>;
0131                                 regulator-max-microvolt = <3300000>;
0132                                 regulator-always-on;
0133                                 regulator-boot-on;
0134                                 regulator-state-mem {
0135                                         regulator-on-in-suspend;
0136                                         regulator-suspend-microvolt = <3300000>;
0137                                 };
0138                         };
0139 
0140                         vdd_10: LDO_REG1 {
0141                                 regulator-name = "vdd_10";
0142                                 regulator-min-microvolt = <1000000>;
0143                                 regulator-max-microvolt = <1000000>;
0144                                 regulator-always-on;
0145                                 regulator-boot-on;
0146                                 regulator-state-mem {
0147                                         regulator-off-in-suspend;
0148                                 };
0149                         };
0150 
0151                         vcc_18: LDO_REG2 {
0152                                 regulator-name = "vcc_18";
0153                                 regulator-min-microvolt = <1800000>;
0154                                 regulator-max-microvolt = <1800000>;
0155                                 regulator-always-on;
0156                                 regulator-boot-on;
0157                                 regulator-state-mem {
0158                                         regulator-off-in-suspend;
0159                                 };
0160                         };
0161 
0162                         vdd10_pmu: LDO_REG3 {
0163                                 regulator-name = "vdd10_pmu";
0164                                 regulator-min-microvolt = <1000000>;
0165                                 regulator-max-microvolt = <1000000>;
0166                                 regulator-always-on;
0167                                 regulator-boot-on;
0168                                 regulator-state-mem {
0169                                         regulator-on-in-suspend;
0170                                         regulator-suspend-microvolt = <1000000>;
0171                                 };
0172                         };
0173                 };
0174         };
0175 
0176         bma250: accelerometer@19 {
0177                 compatible = "bosch,bma250e";
0178                 reg = <0x19>;
0179                 interrupt-parent = <&gpio0>;
0180                 interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
0181         };
0182 };
0183 
0184 &pwm0 {
0185         status = "okay";
0186 };
0187 
0188 &sdmmc {
0189         status = "okay";
0190 };
0191 
0192 &tsadc {
0193         status = "okay";
0194 };
0195 
0196 &u2phy {
0197         status = "okay";
0198 
0199         u2phy_host: host-port {
0200                 status = "okay";
0201         };
0202 
0203         u2phy_otg: otg-port {
0204                 status = "okay";
0205         };
0206 };
0207 
0208 &uart0 {
0209         status = "okay";
0210 };
0211 
0212 &uart1 {
0213         status = "okay";
0214 };
0215 
0216 &uart2 {
0217         status = "okay";
0218 };
0219 
0220 &usb_host_ehci {
0221         status = "okay";
0222 };
0223 
0224 &usb_host_ohci {
0225         status = "okay";
0226 };
0227 
0228 &usb_otg {
0229         status = "okay";
0230 };