"Das U-Boot" Source Tree
0
fork

Configure Feed

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

king jim dm250

+438
+48
configs/king_jim_dm250_defconfig
··· 1 + CONFIG_ARM=y 2 + CONFIG_ARCH_ROCKCHIP=y 3 + CONFIG_TEXT_BASE=0x60000000 4 + CONFIG_NR_DRAM_BANKS=2 5 + CONFIG_SF_DEFAULT_SPEED=20000000 6 + CONFIG_ENV_OFFSET=0x0 7 + CONFIG_DEFAULT_DEVICE_TREE="rockchip/rk3128-king-jim-dm250" 8 + CONFIG_ROCKCHIP_RK3128=y 9 + CONFIG_SYS_BOOTM_LEN=0x4000000 10 + CONFIG_SYS_LOAD_ADDR=0x60800800 11 + CONFIG_DEBUG_UART_BASE=0x20064000 12 + CONFIG_DEBUG_UART_CLOCK=24000000 13 + CONFIG_DEBUG_UART=y 14 + CONFIG_DEFAULT_FDT_FILE="rockchip/rk3128-king-jim-dm250.dtb" 15 + # CONFIG_DISPLAY_CPUINFO is not set 16 + CONFIG_DISPLAY_BOARDINFO_LATE=y 17 + CONFIG_CMD_GPT=y 18 + CONFIG_CMD_MMC=y 19 + CONFIG_CMD_USB=y 20 + CONFIG_CMD_ROCKUSB=y 21 + CONFIG_CMD_USB_MASS_STORAGE=y 22 + # CONFIG_CMD_SETEXPR is not set 23 + CONFIG_CMD_TIME=y 24 + CONFIG_OF_EMBED=y 25 + CONFIG_ENV_IS_IN_MMC=y 26 + CONFIG_SYS_RELOC_GD_ENV_ADDR=y 27 + CONFIG_FASTBOOT_BUF_ADDR=0x60800800 28 + CONFIG_FASTBOOT_BUF_SIZE=0x04000000 29 + CONFIG_FASTBOOT_CMD_OEM_FORMAT=y 30 + CONFIG_ROCKCHIP_GPIO=y 31 + CONFIG_SYS_I2C_ROCKCHIP=y 32 + CONFIG_MMC_DW=y 33 + CONFIG_MMC_DW_ROCKCHIP=y 34 + CONFIG_PHY_ROCKCHIP_INNO_USB2=y 35 + CONFIG_REGULATOR_PWM=y 36 + CONFIG_DEBUG_UART_SHIFT=2 37 + CONFIG_SYS_NS16550_MEM32=y 38 + CONFIG_SYSRESET=y 39 + CONFIG_USB=y 40 + CONFIG_USB_EHCI_HCD=y 41 + CONFIG_USB_EHCI_GENERIC=y 42 + CONFIG_USB_OHCI_HCD=y 43 + CONFIG_USB_OHCI_GENERIC=y 44 + CONFIG_USB_DWC2=y 45 + CONFIG_USB_GADGET=y 46 + CONFIG_USB_GADGET_DWC2_OTG=y 47 + CONFIG_USB_FUNCTION_ROCKUSB=y 48 + CONFIG_ERRNO_STR=y
+46
configs/xpi-3128_defconfig
··· 1 + CONFIG_ARM=y 2 + CONFIG_ARCH_ROCKCHIP=y 3 + CONFIG_TEXT_BASE=0x60000000 4 + CONFIG_NR_DRAM_BANKS=2 5 + CONFIG_SF_DEFAULT_SPEED=20000000 6 + CONFIG_ENV_OFFSET=0x0 7 + CONFIG_DEFAULT_DEVICE_TREE="rockchip/rk3128-xpi-3128" 8 + CONFIG_ROCKCHIP_RK3128=y 9 + CONFIG_SYS_BOOTM_LEN=0x4000000 10 + CONFIG_SYS_LOAD_ADDR=0x60800800 11 + CONFIG_DEBUG_UART_BASE=0x20064000 12 + CONFIG_DEBUG_UART_CLOCK=24000000 13 + CONFIG_DEBUG_UART=y 14 + CONFIG_DEFAULT_FDT_FILE="rockchip/rk3128-xpi-3128.dtb" 15 + # CONFIG_DISPLAY_CPUINFO is not set 16 + CONFIG_DISPLAY_BOARDINFO_LATE=y 17 + CONFIG_CMD_GPT=y 18 + CONFIG_CMD_MMC=y 19 + CONFIG_CMD_USB=y 20 + CONFIG_CMD_USB_MASS_STORAGE=y 21 + # CONFIG_CMD_SETEXPR is not set 22 + CONFIG_CMD_TIME=y 23 + CONFIG_OF_EMBED=y 24 + CONFIG_ENV_IS_IN_MMC=y 25 + CONFIG_SYS_RELOC_GD_ENV_ADDR=y 26 + CONFIG_FASTBOOT_BUF_ADDR=0x60800800 27 + CONFIG_FASTBOOT_BUF_SIZE=0x04000000 28 + CONFIG_FASTBOOT_CMD_OEM_FORMAT=y 29 + CONFIG_ROCKCHIP_GPIO=y 30 + CONFIG_SYS_I2C_ROCKCHIP=y 31 + CONFIG_MMC_DW=y 32 + CONFIG_MMC_DW_ROCKCHIP=y 33 + CONFIG_PHY_ROCKCHIP_INNO_USB2=y 34 + CONFIG_REGULATOR_PWM=y 35 + CONFIG_DEBUG_UART_SHIFT=2 36 + CONFIG_SYS_NS16550_MEM32=y 37 + CONFIG_SYSRESET=y 38 + CONFIG_USB=y 39 + CONFIG_USB_EHCI_HCD=y 40 + CONFIG_USB_EHCI_GENERIC=y 41 + CONFIG_USB_OHCI_HCD=y 42 + CONFIG_USB_OHCI_GENERIC=y 43 + CONFIG_USB_DWC2=y 44 + CONFIG_USB_GADGET=y 45 + CONFIG_USB_GADGET_DWC2_OTG=y 46 + CONFIG_ERRNO_STR=y
+344
dts/upstream/src/arm/rockchip/rk3128-king-jim-dm250.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + 3 + /dts-v1/; 4 + 5 + #include <dt-bindings/input/input.h> 6 + #include <dt-bindings/leds/common.h> 7 + #include "rk3128.dtsi" 8 + 9 + / { 10 + model = "KING JIM Pomera DM250"; 11 + compatible = "kingjim,dm250", "rockchip,rk3128"; 12 + 13 + aliases { 14 + mmc0 = &emmc; 15 + mmc1 = &sdmmc; 16 + }; 17 + 18 + memory@60000000 { 19 + device_type = "memory"; 20 + reg = <0x60000000 0x40000000>; 21 + }; 22 + 23 + chosen { 24 + stdout-path = &uart1; 25 + }; 26 + 27 + dc_5v: regulator-dc-5v { 28 + compatible = "regulator-fixed"; 29 + regulator-name = "DC_5V"; 30 + regulator-min-microvolt = <5000000>; 31 + regulator-max-microvolt = <5000000>; 32 + regulator-always-on; 33 + regulator-boot-on; 34 + }; 35 + 36 + /* 37 + * This is a vbus-supply, which also supplies the GL852G usb hub, 38 + * thus has to be always-on 39 + */ 40 + host_pwr_5v: regulator-host-pwr-5v { 41 + compatible = "regulator-fixed"; 42 + gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>; 43 + startup-delay-us = <1500>; 44 + regulator-name = "HOST_PWR_5V"; 45 + regulator-min-microvolt = <5000000>; 46 + regulator-max-microvolt = <5000000>; 47 + vin-supply = <&dc_5v>; 48 + pinctrl-names = "default"; 49 + pinctrl-0 = <&host_drv>; 50 + enable-active-high; 51 + regulator-always-on; 52 + }; 53 + 54 + mcu3v3: regulator-mcu3v3 { 55 + compatible = "regulator-fixed"; 56 + regulator-name = "MCU3V3"; 57 + regulator-min-microvolt = <3300000>; 58 + regulator-max-microvolt = <3300000>; 59 + vin-supply = <&vcc_io>; 60 + regulator-always-on; 61 + regulator-boot-on; 62 + }; 63 + 64 + vcc_ddr: regulator-vcc-ddr { 65 + compatible = "regulator-fixed"; 66 + regulator-name = "VCC_DDR"; 67 + regulator-min-microvolt = <1500000>; 68 + regulator-max-microvolt = <1500000>; 69 + vin-supply = <&vcc_sys>; 70 + regulator-always-on; 71 + regulator-boot-on; 72 + }; 73 + 74 + vcc_io: regulator-vcc-io { 75 + compatible = "regulator-fixed"; 76 + regulator-name = "VCC_IO"; 77 + regulator-min-microvolt = <3300000>; 78 + regulator-max-microvolt = <3300000>; 79 + vin-supply = <&vcc_sys>; 80 + regulator-always-on; 81 + regulator-boot-on; 82 + }; 83 + 84 + vcc_lan: regulator-vcc-lan { 85 + compatible = "regulator-fixed"; 86 + regulator-name = "VCC_LAN"; 87 + regulator-min-microvolt = <3300000>; 88 + regulator-max-microvolt = <3300000>; 89 + vin-supply = <&vcc_io>; 90 + regulator-always-on; 91 + regulator-boot-on; 92 + }; 93 + 94 + vcc_sd: regulator-vcc-sd { 95 + compatible = "regulator-fixed"; 96 + gpio = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>; 97 + startup-delay-us = <500>; 98 + regulator-name = "VCC_SD"; 99 + regulator-min-microvolt = <3300000>; 100 + regulator-max-microvolt = <3300000>; 101 + vin-supply = <&vcc_io>; 102 + pinctrl-names = "default"; 103 + pinctrl-0 = <&sdmmc_pwren>; 104 + }; 105 + 106 + vcc_sys: regulator-vcc-sys { 107 + compatible = "regulator-fixed"; 108 + regulator-name = "VCC_SYS"; 109 + regulator-min-microvolt = <5000000>; 110 + regulator-max-microvolt = <5000000>; 111 + vin-supply = <&dc_5v>; 112 + regulator-always-on; 113 + regulator-boot-on; 114 + }; 115 + 116 + vcc33_hdmi: regulator-vcc33-hdmi { 117 + compatible = "regulator-fixed"; 118 + regulator-name = "VCC33_HDMI"; 119 + regulator-min-microvolt = <3300000>; 120 + regulator-max-microvolt = <3300000>; 121 + vin-supply = <&vcca_33>; 122 + regulator-always-on; 123 + regulator-boot-on; 124 + }; 125 + 126 + vcca_33: regulator-vcca-33 { 127 + compatible = "regulator-fixed"; 128 + regulator-name = "VCCA_33"; 129 + regulator-min-microvolt = <3300000>; 130 + regulator-max-microvolt = <3300000>; 131 + vin-supply = <&vcc_sys>; 132 + regulator-always-on; 133 + regulator-boot-on; 134 + }; 135 + 136 + vdd_11: regulator-vdd-11 { 137 + compatible = "regulator-fixed"; 138 + regulator-name = "VDD_11"; 139 + regulator-min-microvolt = <1100000>; 140 + regulator-max-microvolt = <1100000>; 141 + vin-supply = <&vcc_sys>; 142 + regulator-always-on; 143 + regulator-boot-on; 144 + }; 145 + 146 + vdd11_hdmi: regulator-vdd11-hdmi { 147 + compatible = "regulator-fixed"; 148 + regulator-name = "VDD11_HDMI"; 149 + regulator-min-microvolt = <1100000>; 150 + regulator-max-microvolt = <1100000>; 151 + vin-supply = <&vdd_11>; 152 + regulator-always-on; 153 + regulator-boot-on; 154 + }; 155 + 156 + vdd_arm: regulator-vdd-arm { 157 + compatible = "pwm-regulator"; 158 + regulator-name = "VDD_ARM"; 159 + pwms = <&pwm1 0 25000 1>; 160 + pwm-supply = <&vcc_sys>; 161 + regulator-min-microvolt = <900000>; 162 + regulator-max-microvolt = <1400000>; 163 + regulator-always-on; 164 + regulator-boot-on; 165 + }; 166 + 167 + /* 168 + * As per schematics vdd_log is minimum 900 mV, maximum 1400 mV. 169 + * Since there are HW blocks in PD_LOGIC (which are all driven by 170 + * this supply), that either do not have a driver at all or the 171 + * driver does not implement regulator support we have to make 172 + * sure here that the voltage never drops below 1050 mV. 173 + */ 174 + vdd_log: regulator-vdd-log { 175 + compatible = "pwm-regulator"; 176 + regulator-name = "VDD_LOG"; 177 + pwms = <&pwm2 0 25000 1>; 178 + pwm-dutycycle-range = <30 100>; 179 + pwm-supply = <&vcc_sys>; 180 + regulator-min-microvolt = <1050000>; 181 + regulator-max-microvolt = <1400000>; 182 + regulator-ramp-delay = <4000>; 183 + regulator-always-on; 184 + regulator-boot-on; 185 + }; 186 + }; 187 + 188 + &cpu0 { 189 + cpu-supply = <&vdd_arm>; 190 + }; 191 + 192 + &display_subsystem { 193 + status = "okay"; 194 + }; 195 + 196 + &dphy { 197 + status = "okay"; 198 + }; 199 + 200 + &emmc { 201 + bus-width = <8>; 202 + vmmc-supply = <&vcc_io>; 203 + pinctrl-names = "default"; 204 + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 205 + cap-mmc-highspeed; 206 + mmc-ddr-3_3v; 207 + no-sd; 208 + no-sdio; 209 + status = "okay"; 210 + }; 211 + 212 + &gpu { 213 + mali-supply = <&vdd_log>; 214 + status = "okay"; 215 + }; 216 + 217 + &i2c0 { 218 + status = "okay"; 219 + 220 + rk818: pmic@1c { 221 + compatible = "rockchip,rk818"; 222 + reg = <0x1c>; 223 + status = "okay"; 224 + rockchip,system-power-controller; 225 + rk818,support_dc_chg = <0x01>; 226 + 227 + battery { 228 + ocv_table = <0xd48 0xe36 0xe55 0xe65 0xe84 0xe9f 0xeb5 0xecc 0xee0 0xef4 0xf08 0xf1d 0xf33 0xf4a 0xf61 0xf94 0xfc2 0xfe4 0x1007 0x1029 0x1068>; 229 + design_capacity = <0x16a8>; 230 + design_qmax = <0x18ec>; 231 + bat_res = <0x2d>; 232 + max_input_current = <0xbb8>; 233 + max_chrg_current = <0xaf0>; 234 + max_chrg_voltage = <0x1068>; 235 + sleep_enter_current = <0x12c>; 236 + sleep_exit_current = <0x12c>; 237 + sleep_filter_current = <0x64>; 238 + power_off_thresd = <0xd48>; 239 + zero_algorithm_vol = <0xf0a>; 240 + energy_mode = <0x00>; 241 + fb_temperature = <0x69>; 242 + max_soc_offset = <0x3c>; 243 + monitor_sec = <0x05>; 244 + virtual_power = <0x00>; 245 + power_dc2otg = <0x01>; 246 + }; 247 + }; 248 + 249 + tc3589x@45 { 250 + reg = <0x45>; 251 + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 252 + clocks = <&cru HCLK_HOST2>; 253 + compatible = "toshiba,tc3589x"; 254 + gpios = <&gpio0 RK_PD1 GPIO_ACTIVE_LOW>; 255 + }; 256 + }; 257 + 258 + &i2c1 { 259 + status = "okay"; 260 + }; 261 + 262 + &i2c2 { 263 + status = "okay"; 264 + }; 265 + 266 + &i2c3 { 267 + status = "okay"; 268 + }; 269 + 270 + &pinctrl { 271 + usb2 { 272 + host_drv: host-drv { 273 + rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; 274 + }; 275 + }; 276 + }; 277 + 278 + &pwm1 { 279 + status = "okay"; 280 + }; 281 + 282 + &pwm2 { 283 + status = "okay"; 284 + }; 285 + 286 + &saradc { 287 + vref-supply = <&vcc_io>; 288 + status = "okay"; 289 + }; 290 + 291 + &sdmmc { 292 + bus-width = <4>; 293 + vmmc-supply = <&vcc_sd>; 294 + pinctrl-names = "default"; 295 + pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc_det>; 296 + disable-wp; 297 + cap-sd-highspeed; 298 + no-mmc; 299 + no-sdio; 300 + broken-cd; 301 + status = "okay"; 302 + }; 303 + 304 + &uart1 { 305 + status = "okay"; 306 + }; 307 + 308 + &usb_host_ehci { 309 + status = "okay"; 310 + }; 311 + 312 + &usb_host_ohci { 313 + status = "okay"; 314 + }; 315 + 316 + &usb_otg { 317 + vusb_a-supply = <&vcc_io>; 318 + vusb_d-supply = <&vdd_11>; 319 + status = "okay"; 320 + }; 321 + 322 + &usb2phy { 323 + status = "okay"; 324 + }; 325 + 326 + &usb2phy_host { 327 + status = "okay"; 328 + }; 329 + 330 + &usb2phy_otg { 331 + status = "okay"; 332 + }; 333 + 334 + &vop { 335 + status = "okay"; 336 + }; 337 + 338 + &watchdog { 339 + status = "okay"; 340 + }; 341 + 342 + &vdd_arm { 343 + regulator-init-microvolt = <1015000>; 344 + };