Update for sun50iw9
This commit is contained in:
parent
ef22bd4b07
commit
3027a84541
|
|
@ -3,3 +3,4 @@ console=both
|
||||||
disp_mode=1080p60
|
disp_mode=1080p60
|
||||||
fb0_width=1920
|
fb0_width=1920
|
||||||
fb0_height=1080
|
fb0_height=1080
|
||||||
|
debug_uart=ttyS0
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ setenv rootfstype "ext4"
|
||||||
setenv console "both"
|
setenv console "both"
|
||||||
setenv docker_optimizations "off"
|
setenv docker_optimizations "off"
|
||||||
setenv bootlogo "false"
|
setenv bootlogo "false"
|
||||||
|
setenv debug_uart "ttyS0"
|
||||||
|
|
||||||
# Print boot source
|
# Print boot source
|
||||||
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
|
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
|
||||||
|
|
@ -24,8 +25,8 @@ if test -e ${devtype} ${devnum} ${prefix}orangepiEnv.txt; then
|
||||||
env import -t ${load_addr} ${filesize}
|
env import -t ${load_addr} ${filesize}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
|
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=${debug_uart},115200 console=tty1"; fi
|
||||||
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
|
if test "${console}" = "serial"; then setenv consoleargs "console=${debug_uart},115200"; fi
|
||||||
if test "${bootlogo}" = "true"; then setenv consoleargs "bootsplash.bootfile=bootsplash.orangepi ${consoleargs}"; fi
|
if test "${bootlogo}" = "true"; then setenv consoleargs "bootsplash.bootfile=bootsplash.orangepi ${consoleargs}"; fi
|
||||||
|
|
||||||
# get PARTUUID of first partition on SD/eMMC it was loaded from
|
# get PARTUUID of first partition on SD/eMMC it was loaded from
|
||||||
|
|
@ -50,6 +51,11 @@ fdt set disp tv_vdid <${tv_vdid}>
|
||||||
fdt set disp fb0_width <${fb0_width}>
|
fdt set disp fb0_width <${fb0_width}>
|
||||||
fdt set disp fb0_height <${fb0_height}>
|
fdt set disp fb0_height <${fb0_height}>
|
||||||
|
|
||||||
|
fdt set mmc0 cap-sd-highspeed
|
||||||
|
#fdt set mmc0 sd-uhs-sdr50
|
||||||
|
#fdt set mmc0 sd-uhs-ddr50
|
||||||
|
#fdt set mmc0 sd-uhs-sdr104
|
||||||
|
|
||||||
for overlay_file in ${user_overlays}; do
|
for overlay_file in ${user_overlays}; do
|
||||||
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
|
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
|
||||||
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
|
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ uboot_custom_postprocess()
|
||||||
|
|
||||||
if [[ ${BRANCH} == legacy ]]; then
|
if [[ ${BRANCH} == legacy ]]; then
|
||||||
|
|
||||||
rm dts/*.dts sys_config -r >/dev/null 2>&1
|
rm dts/*.dts sys_config ${BOARD}-u-boot.dtb -r >/dev/null 2>&1
|
||||||
export PATH=${EXTER}/packages/pack-uboot/${BOARDFAMILY}/tools/:$PATH
|
export PATH=${EXTER}/packages/pack-uboot/${BOARDFAMILY}/tools/:$PATH
|
||||||
cp ${EXTER}/packages/pack-uboot/${BOARDFAMILY}/bin/* . -r
|
cp ${EXTER}/packages/pack-uboot/${BOARDFAMILY}/bin/* . -r
|
||||||
cp sys_config/sys_config_${BOARD}.fex sys_config.fex
|
cp sys_config/sys_config_${BOARD}.fex sys_config.fex
|
||||||
|
|
@ -85,6 +85,7 @@ uboot_custom_postprocess()
|
||||||
|
|
||||||
# make u-boot dtb
|
# make u-boot dtb
|
||||||
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/dtc -p 2048 -W no-unit_address_vs_reg -@ -O dtb -o ${BOARD}-u-boot.dtb -b 0 dts/${BOARD}-u-boot.dts >/dev/null 2>&1
|
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/dtc -p 2048 -W no-unit_address_vs_reg -@ -O dtb -o ${BOARD}-u-boot.dtb -b 0 dts/${BOARD}-u-boot.dts >/dev/null 2>&1
|
||||||
|
[[ ! -f ${BOARD}-u-boot.dtb ]] && exit_with_error "dts compilation failed"
|
||||||
|
|
||||||
busybox unix2dos sys_config.fex
|
busybox unix2dos sys_config.fex
|
||||||
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/script sys_config.fex >/dev/null 2>&1
|
$EXTER/packages/pack-uboot/${BOARDFAMILY}/tools/script sys_config.fex >/dev/null 2>&1
|
||||||
|
|
|
||||||
|
|
@ -1371,7 +1371,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart2@0 {
|
uart2@0 {
|
||||||
allwinner,pins = "PG15", "PG16", "PG17", "PG18";
|
allwinner,pins = "PH5", "PH6", "PH7", "PH8";
|
||||||
allwinner,pname = "uart2_tx", "uart2_rx", "uart2_rts", "uart2_cts";
|
allwinner,pname = "uart2_tx", "uart2_rx", "uart2_rts", "uart2_cts";
|
||||||
allwinner,function = "uart2";
|
allwinner,function = "uart2";
|
||||||
allwinner,muxsel = <0x2>;
|
allwinner,muxsel = <0x2>;
|
||||||
|
|
@ -1382,7 +1382,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart2@1 {
|
uart2@1 {
|
||||||
allwinner,pins = "PG15", "PG16", "PG17", "PG18";
|
allwinner,pins = "PH5", "PH6", "PH7", "PH8";
|
||||||
allwinner,function = "io_disabled";
|
allwinner,function = "io_disabled";
|
||||||
allwinner,muxsel = <0x7>;
|
allwinner,muxsel = <0x7>;
|
||||||
allwinner,drive = <0x1>;
|
allwinner,drive = <0x1>;
|
||||||
|
|
@ -1539,7 +1539,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
twi4@0 {
|
twi4@0 {
|
||||||
allwinner,pins = "PG15", "PG16";
|
allwinner,pins = "PH6", "PH7";
|
||||||
allwinner,pname = "twi4_scl", "twi4_sda";
|
allwinner,pname = "twi4_scl", "twi4_sda";
|
||||||
allwinner,function = "twi4";
|
allwinner,function = "twi4";
|
||||||
allwinner,muxsel = <0x5>;
|
allwinner,muxsel = <0x5>;
|
||||||
|
|
@ -1550,7 +1550,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
twi4@1 {
|
twi4@1 {
|
||||||
allwinner,pins = "PG15", "PG16";
|
allwinner,pins = "PH6", "PH7";
|
||||||
allwinner,function = "io_disabled";
|
allwinner,function = "io_disabled";
|
||||||
allwinner,muxsel = <0x7>;
|
allwinner,muxsel = <0x7>;
|
||||||
allwinner,drive = <0x1>;
|
allwinner,drive = <0x1>;
|
||||||
|
|
@ -2565,7 +2565,7 @@
|
||||||
phandle = <0x11a>;
|
phandle = <0x11a>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000000 {
|
uart0: uart@05000000 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart0";
|
device_type = "uart0";
|
||||||
reg = <0x0 0x5000000 0x0 0x400>;
|
reg = <0x0 0x5000000 0x0 0x400>;
|
||||||
|
|
@ -2581,7 +2581,7 @@
|
||||||
pinctrl-0 = <0x187>;
|
pinctrl-0 = <0x187>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000400 {
|
uart1: uart@05000400 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart1";
|
device_type = "uart1";
|
||||||
reg = <0x0 0x5000400 0x0 0x400>;
|
reg = <0x0 0x5000400 0x0 0x400>;
|
||||||
|
|
@ -2597,7 +2597,7 @@
|
||||||
phandle = <0x11c>;
|
phandle = <0x11c>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000800 {
|
uart2: uart@05000800 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart2";
|
device_type = "uart2";
|
||||||
reg = <0x0 0x5000800 0x0 0x400>;
|
reg = <0x0 0x5000800 0x0 0x400>;
|
||||||
|
|
@ -2607,13 +2607,11 @@
|
||||||
pinctrl-0 = <0x30>;
|
pinctrl-0 = <0x30>;
|
||||||
pinctrl-1 = <0x31>;
|
pinctrl-1 = <0x31>;
|
||||||
uart2_port = <0x2>;
|
uart2_port = <0x2>;
|
||||||
uart2_type = <0x4>;
|
uart2_type = <0x2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
linux,phandle = <0x11d>;
|
|
||||||
phandle = <0x11d>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000c00 {
|
uart3: uart@05000c00 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart3";
|
device_type = "uart3";
|
||||||
reg = <0x0 0x5000c00 0x0 0x400>;
|
reg = <0x0 0x5000c00 0x0 0x400>;
|
||||||
|
|
@ -2629,7 +2627,7 @@
|
||||||
phandle = <0x11e>;
|
phandle = <0x11e>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05001000 {
|
uart4: uart@05001000 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart4";
|
device_type = "uart4";
|
||||||
reg = <0x0 0x5001000 0x0 0x400>;
|
reg = <0x0 0x5001000 0x0 0x400>;
|
||||||
|
|
@ -2645,7 +2643,7 @@
|
||||||
phandle = <0x11f>;
|
phandle = <0x11f>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05001400 {
|
uart5: uart@05001400 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart5";
|
device_type = "uart5";
|
||||||
reg = <0x0 0x5001400 0x0 0x400>;
|
reg = <0x0 0x5001400 0x0 0x400>;
|
||||||
|
|
@ -2661,7 +2659,7 @@
|
||||||
phandle = <0x120>;
|
phandle = <0x120>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002000 {
|
i2c0: twi@0x05002000 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2678,7 +2676,7 @@
|
||||||
phandle = <0x121>;
|
phandle = <0x121>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002400 {
|
i2c1: twi@0x05002400 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2695,7 +2693,7 @@
|
||||||
phandle = <0x122>;
|
phandle = <0x122>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002800 {
|
i2c2: twi@0x05002800 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2712,7 +2710,7 @@
|
||||||
phandle = <0x123>;
|
phandle = <0x123>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002c00 {
|
i2c3: twi@0x05002c00 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2729,7 +2727,7 @@
|
||||||
phandle = <0x124>;
|
phandle = <0x124>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05003000 {
|
i2c4: twi@0x05003000 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2742,11 +2740,9 @@
|
||||||
pinctrl-0 = <0x48>;
|
pinctrl-0 = <0x48>;
|
||||||
pinctrl-1 = <0x49>;
|
pinctrl-1 = <0x49>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
linux,phandle = <0x125>;
|
|
||||||
phandle = <0x125>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x07081400 {
|
i2c5: twi@0x07081400 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2760,78 +2756,149 @@
|
||||||
pinctrl-1 = <0x4c>;
|
pinctrl-1 = <0x4c>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
no_suspend = <0x1>;
|
no_suspend = <0x1>;
|
||||||
linux,phandle = <0x126>;
|
|
||||||
phandle = <0x126>;
|
|
||||||
|
|
||||||
pmu {
|
pmu0: pmu {
|
||||||
compatible = "x-powers,axp1530";
|
compatible = "x-powers,axp806";
|
||||||
reg = <0x36>;
|
reg = <0x36>;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
linux,phandle = <0x127>;
|
|
||||||
phandle = <0x127>;
|
|
||||||
|
|
||||||
standby_param {
|
standby_param {
|
||||||
vcc-dram = <0x4>;
|
vcc-dram = <0x8>;
|
||||||
linux,phandle = <0x128>;
|
|
||||||
phandle = <0x128>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
|
reg_dcdc1: dcdca {
|
||||||
dcdc1 {
|
regulator-name = "axp806-dcdca";
|
||||||
regulator-name = "axp1530-dcdc1";
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-min-microvolt = <0x7a120>;
|
regulator-max-microvolt = <1520000>;
|
||||||
regulator-max-microvolt = <0x33e140>;
|
regulator-step-delay-us = <25>;
|
||||||
regulator-step-delay-us = <0x19>;
|
regulator-final-delay-us = <50>;
|
||||||
regulator-final-delay-us = <0x32>;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
linux,phandle = <0x129>;
|
|
||||||
phandle = <0x129>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dcdc2 {
|
reg_dcdc2: dcdcb {
|
||||||
regulator-name = "axp1530-dcdc2";
|
regulator-name = "axp806-dcdcb";
|
||||||
regulator-min-microvolt = <0x7a120>;
|
regulator-min-microvolt = <1000000>;
|
||||||
regulator-max-microvolt = <0x177fa0>;
|
regulator-max-microvolt = <2550000>;
|
||||||
regulator-step-delay-us = <0x19>;
|
regulator-step-delay-us = <25>;
|
||||||
regulator-final-delay-us = <0x32>;
|
regulator-final-delay-us = <50>;
|
||||||
regulator-ramp-delay = <0xc8>;
|
|
||||||
regulator-always-on;
|
|
||||||
linux,phandle = <0xd6>;
|
|
||||||
phandle = <0xd6>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dcdc3 {
|
reg_dcdc3: dcdcc {
|
||||||
regulator-name = "axp1530-dcdc3";
|
regulator-name = "axp806-dcdcc";
|
||||||
regulator-min-microvolt = <0x16e360>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-max-microvolt = <0x16e360>;
|
regulator-max-microvolt = <1520000>;
|
||||||
regulator-step-delay-us = <0x19>;
|
regulator-step-delay-us = <25>;
|
||||||
regulator-final-delay-us = <0x32>;
|
regulator-final-delay-us = <50>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
linux,phandle = <0x12a>;
|
|
||||||
phandle = <0x12a>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo1 {
|
reg_dcdc4: dcdcd {
|
||||||
regulator-name = "axp1530-aldo1";
|
regulator-name = "axp806-dcdcd";
|
||||||
regulator-min-microvolt = <0x1b7740>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-max-microvolt = <0x1b7740>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-step-delay-us = <0x19>;
|
regulator-step-delay-us = <25>;
|
||||||
regulator-final-delay-us = <0x32>;
|
regulator-final-delay-us = <50>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
linux,phandle = <0x68>;
|
|
||||||
phandle = <0x68>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo2 {
|
reg_dcdc5: dcdce {
|
||||||
regulator-name = "axp1530-dldo1";
|
regulator-name = "axp806-dcdce";
|
||||||
regulator-min-microvolt = <0x325aa0>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <0x325aa0>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-step-delay-us = <0x19>;
|
regulator-step-delay-us = <25>;
|
||||||
regulator-final-delay-us = <0x32>;
|
regulator-final-delay-us = <50>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
linux,phandle = <0x69>;
|
};
|
||||||
phandle = <0x69>;
|
|
||||||
|
reg_aldo1: aldo1 {
|
||||||
|
regulator-name = "axp806-aldo1";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_aldo2: aldo2 {
|
||||||
|
regulator-name = "axp806-aldo2";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_aldo3: aldo3 {
|
||||||
|
regulator-name = "axp806-aldo3";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_bldo1: bldo1 {
|
||||||
|
regulator-name = "axp806-bldo1";
|
||||||
|
regulator-min-microvolt = <180000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_bldo2: bldo2 {
|
||||||
|
regulator-name = "axp806-bldo2";
|
||||||
|
regulator-min-microvolt = <700000>;
|
||||||
|
regulator-max-microvolt = <1900000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_bldo3: bldo3 {
|
||||||
|
regulator-name = "axp806-bldo3";
|
||||||
|
regulator-min-microvolt = <700000>;
|
||||||
|
regulator-max-microvolt = <1900000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_bldo4: bldo4 {
|
||||||
|
regulator-name = "axp806-bldo4";
|
||||||
|
regulator-min-microvolt = <700000>;
|
||||||
|
regulator-max-microvolt = <1900000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_cldo1: cldo1 {
|
||||||
|
regulator-name = "axp806-cldo1";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_cldo2: cldo2 {
|
||||||
|
regulator-name = "axp806-cldo2";
|
||||||
|
regulator-min-microvolt = <700000>;
|
||||||
|
regulator-max-microvolt = <4200000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_cldo3: cldo3 {
|
||||||
|
regulator-name = "axp806-cldo3";
|
||||||
|
regulator-min-microvolt = <700000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-step-delay-us = <25>;
|
||||||
|
regulator-final-delay-us = <50>;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_sw: sw {
|
||||||
|
regulator-name = "axp806-sw";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -3384,8 +3451,6 @@
|
||||||
ctl-spec-caps = <0x8>;
|
ctl-spec-caps = <0x8>;
|
||||||
vmmc-supply = <0x69>;
|
vmmc-supply = <0x69>;
|
||||||
vqmmc-supply = <0x68>;
|
vqmmc-supply = <0x68>;
|
||||||
linux,phandle = <0x145>;
|
|
||||||
phandle = <0x145>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdmmc@04020000 {
|
sdmmc@04020000 {
|
||||||
|
|
@ -3402,24 +3467,18 @@
|
||||||
max-frequency = <0x8f0d180>;
|
max-frequency = <0x8f0d180>;
|
||||||
bus-width = <0x4>;
|
bus-width = <0x4>;
|
||||||
cd-gpios = <0x53 0x5 0x6 0x6 0x1 0x3 0xffffffff>;
|
cd-gpios = <0x53 0x5 0x6 0x6 0x1 0x3 0xffffffff>;
|
||||||
cap-sd-highspeed;
|
//cap-sd-highspeed;
|
||||||
cap-wait-while-busy;
|
cap-wait-while-busy;
|
||||||
no-sdio;
|
no-sdio;
|
||||||
no-mmc;
|
no-mmc;
|
||||||
sunxi-power-save-mode;
|
sunxi-power-save-mode;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
cd-used-24M;
|
cd-used-24M;
|
||||||
sd-uhs-sdr50;
|
//sd-uhs-sdr50;
|
||||||
sd-uhs-ddr50;
|
//sd-uhs-ddr50;
|
||||||
sd-uhs-sdr104;
|
//sd-uhs-sdr104;
|
||||||
ctl-spec-caps = <0x8>;
|
ctl-spec-caps = <0x8>;
|
||||||
vmmc-supply = <0x69>;
|
vdmmc-supply = <®_dcdc5>;
|
||||||
vqmmc33sw-supply = <0x69>;
|
|
||||||
vdmmc33sw-supply = <0x69>;
|
|
||||||
vqmmc18sw-supply = <0x68>;
|
|
||||||
vdmmc18sw-supply = <0x68>;
|
|
||||||
linux,phandle = <0x146>;
|
|
||||||
phandle = <0x146>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdmmc@04021000 {
|
sdmmc@04021000 {
|
||||||
|
|
@ -4434,13 +4493,6 @@
|
||||||
dldo1_vol = <0xf4f24>;
|
dldo1_vol = <0xf4f24>;
|
||||||
};
|
};
|
||||||
|
|
||||||
axp1530_power_sply {
|
|
||||||
device_type = "axp1530_power_sply";
|
|
||||||
dcdc2_vol = <0xf4628>;
|
|
||||||
aldo1_vol = <0xf4948>;
|
|
||||||
dldo1_vol = <0xf4f24>;
|
|
||||||
};
|
|
||||||
|
|
||||||
axp806_power_sply {
|
axp806_power_sply {
|
||||||
device_type = "axp806_power_sply";
|
device_type = "axp806_power_sply";
|
||||||
dcdce_vol = <0xf4f24>;
|
dcdce_vol = <0xf4f24>;
|
||||||
|
|
|
||||||
58
external/packages/pack-uboot/sun50iw9/bin/dts/orangepizero2-u-boot.dts
vendored
Normal file → Executable file
58
external/packages/pack-uboot/sun50iw9/bin/dts/orangepizero2-u-boot.dts
vendored
Normal file → Executable file
|
|
@ -1371,7 +1371,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart2@0 {
|
uart2@0 {
|
||||||
allwinner,pins = "PG15", "PG16", "PG17", "PG18";
|
allwinner,pins = "PH5", "PH6", "PH7", "PH8";
|
||||||
allwinner,pname = "uart2_tx", "uart2_rx", "uart2_rts", "uart2_cts";
|
allwinner,pname = "uart2_tx", "uart2_rx", "uart2_rts", "uart2_cts";
|
||||||
allwinner,function = "uart2";
|
allwinner,function = "uart2";
|
||||||
allwinner,muxsel = <0x2>;
|
allwinner,muxsel = <0x2>;
|
||||||
|
|
@ -1382,7 +1382,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart2@1 {
|
uart2@1 {
|
||||||
allwinner,pins = "PG15", "PG16", "PG17", "PG18";
|
allwinner,pins = "PH5", "PH6", "PH7", "PH8";
|
||||||
allwinner,function = "io_disabled";
|
allwinner,function = "io_disabled";
|
||||||
allwinner,muxsel = <0x7>;
|
allwinner,muxsel = <0x7>;
|
||||||
allwinner,drive = <0x1>;
|
allwinner,drive = <0x1>;
|
||||||
|
|
@ -1539,7 +1539,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
twi4@0 {
|
twi4@0 {
|
||||||
allwinner,pins = "PG15", "PG16";
|
allwinner,pins = "PH6", "PH7";
|
||||||
allwinner,pname = "twi4_scl", "twi4_sda";
|
allwinner,pname = "twi4_scl", "twi4_sda";
|
||||||
allwinner,function = "twi4";
|
allwinner,function = "twi4";
|
||||||
allwinner,muxsel = <0x5>;
|
allwinner,muxsel = <0x5>;
|
||||||
|
|
@ -1550,7 +1550,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
twi4@1 {
|
twi4@1 {
|
||||||
allwinner,pins = "PG15", "PG16";
|
allwinner,pins = "PH6", "PH7";
|
||||||
allwinner,function = "io_disabled";
|
allwinner,function = "io_disabled";
|
||||||
allwinner,muxsel = <0x7>;
|
allwinner,muxsel = <0x7>;
|
||||||
allwinner,drive = <0x1>;
|
allwinner,drive = <0x1>;
|
||||||
|
|
@ -2565,7 +2565,7 @@
|
||||||
phandle = <0x11a>;
|
phandle = <0x11a>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000000 {
|
uart0: uart@05000000 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart0";
|
device_type = "uart0";
|
||||||
reg = <0x0 0x5000000 0x0 0x400>;
|
reg = <0x0 0x5000000 0x0 0x400>;
|
||||||
|
|
@ -2581,7 +2581,7 @@
|
||||||
pinctrl-0 = <0x187>;
|
pinctrl-0 = <0x187>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000400 {
|
uart1: uart@05000400 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart1";
|
device_type = "uart1";
|
||||||
reg = <0x0 0x5000400 0x0 0x400>;
|
reg = <0x0 0x5000400 0x0 0x400>;
|
||||||
|
|
@ -2597,7 +2597,7 @@
|
||||||
phandle = <0x11c>;
|
phandle = <0x11c>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000800 {
|
uart2: uart@05000800 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart2";
|
device_type = "uart2";
|
||||||
reg = <0x0 0x5000800 0x0 0x400>;
|
reg = <0x0 0x5000800 0x0 0x400>;
|
||||||
|
|
@ -2607,13 +2607,11 @@
|
||||||
pinctrl-0 = <0x30>;
|
pinctrl-0 = <0x30>;
|
||||||
pinctrl-1 = <0x31>;
|
pinctrl-1 = <0x31>;
|
||||||
uart2_port = <0x2>;
|
uart2_port = <0x2>;
|
||||||
uart2_type = <0x4>;
|
uart2_type = <0x2>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
linux,phandle = <0x11d>;
|
|
||||||
phandle = <0x11d>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05000c00 {
|
uart3: uart@05000c00 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart3";
|
device_type = "uart3";
|
||||||
reg = <0x0 0x5000c00 0x0 0x400>;
|
reg = <0x0 0x5000c00 0x0 0x400>;
|
||||||
|
|
@ -2629,7 +2627,7 @@
|
||||||
phandle = <0x11e>;
|
phandle = <0x11e>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05001000 {
|
uart4: uart@05001000 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart4";
|
device_type = "uart4";
|
||||||
reg = <0x0 0x5001000 0x0 0x400>;
|
reg = <0x0 0x5001000 0x0 0x400>;
|
||||||
|
|
@ -2645,7 +2643,7 @@
|
||||||
phandle = <0x11f>;
|
phandle = <0x11f>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@05001400 {
|
uart5: uart@05001400 {
|
||||||
compatible = "allwinner,sun50i-uart";
|
compatible = "allwinner,sun50i-uart";
|
||||||
device_type = "uart5";
|
device_type = "uart5";
|
||||||
reg = <0x0 0x5001400 0x0 0x400>;
|
reg = <0x0 0x5001400 0x0 0x400>;
|
||||||
|
|
@ -2661,7 +2659,7 @@
|
||||||
phandle = <0x120>;
|
phandle = <0x120>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002000 {
|
i2c0: twi@0x05002000 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2678,7 +2676,7 @@
|
||||||
phandle = <0x121>;
|
phandle = <0x121>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002400 {
|
i2c1: twi@0x05002400 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2695,7 +2693,7 @@
|
||||||
phandle = <0x122>;
|
phandle = <0x122>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002800 {
|
i2c2: twi@0x05002800 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2712,7 +2710,7 @@
|
||||||
phandle = <0x123>;
|
phandle = <0x123>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05002c00 {
|
i2c3: twi@0x05002c00 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2729,7 +2727,7 @@
|
||||||
phandle = <0x124>;
|
phandle = <0x124>;
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x05003000 {
|
i2c4: twi@0x05003000 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2742,11 +2740,9 @@
|
||||||
pinctrl-0 = <0x48>;
|
pinctrl-0 = <0x48>;
|
||||||
pinctrl-1 = <0x49>;
|
pinctrl-1 = <0x49>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
linux,phandle = <0x125>;
|
|
||||||
phandle = <0x125>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
twi@0x07081400 {
|
i2c5: twi@0x07081400 {
|
||||||
#address-cells = <0x1>;
|
#address-cells = <0x1>;
|
||||||
#size-cells = <0x0>;
|
#size-cells = <0x0>;
|
||||||
compatible = "allwinner,sun50i-twi";
|
compatible = "allwinner,sun50i-twi";
|
||||||
|
|
@ -2760,8 +2756,6 @@
|
||||||
pinctrl-1 = <0x4c>;
|
pinctrl-1 = <0x4c>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
no_suspend = <0x1>;
|
no_suspend = <0x1>;
|
||||||
linux,phandle = <0x126>;
|
|
||||||
phandle = <0x126>;
|
|
||||||
|
|
||||||
pmu {
|
pmu {
|
||||||
compatible = "x-powers,axp1530";
|
compatible = "x-powers,axp1530";
|
||||||
|
|
@ -3384,8 +3378,6 @@
|
||||||
ctl-spec-caps = <0x8>;
|
ctl-spec-caps = <0x8>;
|
||||||
vmmc-supply = <0x69>;
|
vmmc-supply = <0x69>;
|
||||||
vqmmc-supply = <0x68>;
|
vqmmc-supply = <0x68>;
|
||||||
linux,phandle = <0x145>;
|
|
||||||
phandle = <0x145>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdmmc@04020000 {
|
sdmmc@04020000 {
|
||||||
|
|
@ -3402,24 +3394,18 @@
|
||||||
max-frequency = <0x8f0d180>;
|
max-frequency = <0x8f0d180>;
|
||||||
bus-width = <0x4>;
|
bus-width = <0x4>;
|
||||||
cd-gpios = <0x53 0x5 0x6 0x6 0x1 0x3 0xffffffff>;
|
cd-gpios = <0x53 0x5 0x6 0x6 0x1 0x3 0xffffffff>;
|
||||||
cap-sd-highspeed;
|
//cap-sd-highspeed;
|
||||||
cap-wait-while-busy;
|
cap-wait-while-busy;
|
||||||
no-sdio;
|
no-sdio;
|
||||||
no-mmc;
|
no-mmc;
|
||||||
sunxi-power-save-mode;
|
sunxi-power-save-mode;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
cd-used-24M;
|
cd-used-24M;
|
||||||
sd-uhs-sdr50;
|
//sd-uhs-sdr50;
|
||||||
sd-uhs-ddr50;
|
//sd-uhs-ddr50;
|
||||||
sd-uhs-sdr104;
|
//sd-uhs-sdr104;
|
||||||
ctl-spec-caps = <0x8>;
|
ctl-spec-caps = <0x8>;
|
||||||
vmmc-supply = <0x69>;
|
//vdmmc-supply = <®_dcdc5>;
|
||||||
vqmmc33sw-supply = <0x69>;
|
|
||||||
vdmmc33sw-supply = <0x69>;
|
|
||||||
vqmmc18sw-supply = <0x68>;
|
|
||||||
vdmmc18sw-supply = <0x68>;
|
|
||||||
linux,phandle = <0x146>;
|
|
||||||
phandle = <0x146>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdmmc@04021000 {
|
sdmmc@04021000 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue