mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-10 01:37:21 +07:00
Support Orange Pi Zero2 W
This commit is contained in:
@@ -162,7 +162,7 @@ prepare_board() {
|
||||
|
||||
/usr/bin/pwm-fan.sh &
|
||||
;;
|
||||
orangepizero2|orangepizero2-lts|orangepizero2-b|orangepizero3|orangepir1b)
|
||||
orangepizero2|orangepizero2-lts|orangepizero2-b|orangepizero3|orangepir1b|orangepizero2w)
|
||||
kv=$(uname -r)
|
||||
|
||||
#if [[ $BRANCH == current ]]; then
|
||||
|
||||
BIN
external/packages/bsp/overlays_arm64/usr/bin/blink
vendored
Executable file
BIN
external/packages/bsp/overlays_arm64/usr/bin/blink
vendored
Executable file
Binary file not shown.
@@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $(uname -r) == 5.4.* ]]; then
|
||||
echo 1 | sudo update-alternatives --config iptables > /dev/null
|
||||
fi
|
||||
|
||||
sudo systemctl enable docker.service
|
||||
sudo systemctl start docker.service
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
interrupt-parent = <0x1>;
|
||||
#address-cells = <0x2>;
|
||||
#size-cells = <0x2>;
|
||||
model = "Orange Pi Zero 3";
|
||||
model = "Orange Pi Zero2w";
|
||||
compatible = "allwinner,h616", "arm,sun50iw9p1";
|
||||
|
||||
aliases {
|
||||
@@ -247,11 +247,11 @@
|
||||
|
||||
opp@1512000000 {
|
||||
opp-hz = <0x0 0x5a1f4a00>;
|
||||
opp-microvolt-a0 = <0x10c8e0>;
|
||||
opp-microvolt-a1 = <0x10c8e0>;
|
||||
opp-microvolt-a2 = <0x10c8e0>;
|
||||
opp-microvolt-a3 = <0x10c8e0>;
|
||||
opp-microvolt-a4 = <0x10c8e0>;
|
||||
opp-microvolt-a0 = <0x118c30>;
|
||||
opp-microvolt-a1 = <0x118c30>;
|
||||
opp-microvolt-a2 = <0x118c30>;
|
||||
opp-microvolt-a3 = <0x118c30>;
|
||||
opp-microvolt-a4 = <0x118c30>;
|
||||
clock-latency-ns = <0x3b9b0>;
|
||||
opp-supported-hw = <0x1f>;
|
||||
};
|
||||
@@ -719,9 +719,9 @@
|
||||
reg = <0x0 0x0300a011 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm1_pin_a>;
|
||||
pinctrl-1 = <&pwm1_pin_b>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pwm1_pi_pin_a>;
|
||||
pinctrl-1 = <&pwm1_pi_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm2: pwm2@300a012 {
|
||||
@@ -729,9 +729,9 @@
|
||||
reg = <0x0 0x0300a012 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm2_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pin_b>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pwm2_pi_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pi_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm3: pwm3@300a013 {
|
||||
@@ -739,9 +739,9 @@
|
||||
reg = <0x0 0x0300a013 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm3_pin_a>;
|
||||
pinctrl-1 = <&pwm3_pin_b>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pwm3_pi_pin_a>;
|
||||
pinctrl-1 = <&pwm3_pi_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm4: pwm4@300a014 {
|
||||
@@ -749,9 +749,9 @@
|
||||
reg = <0x0 0x0300a014 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm4_pin_a>;
|
||||
pinctrl-1 = <&pwm4_pin_b>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pwm4_pi_pin_a>;
|
||||
pinctrl-1 = <&pwm4_pi_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm5: pwm5@300a015 {
|
||||
@@ -790,14 +790,14 @@
|
||||
vcc-pg-supply = <0x17>;
|
||||
phandle = <0x23>;
|
||||
|
||||
uart0-ph-pins {
|
||||
uart0_ph_pins_a: uart0-ph-pins {
|
||||
pins = "PH0", "PH1";
|
||||
function = "uart0";
|
||||
bias-pull-up;
|
||||
phandle = <0x29>;
|
||||
};
|
||||
|
||||
uart0-ph-sleep {
|
||||
uart0_ph_pins_b: uart0-ph-sleep {
|
||||
pins = "PH0", "PH1";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2a>;
|
||||
@@ -915,61 +915,67 @@
|
||||
phandle = <0x28>;
|
||||
};
|
||||
|
||||
uart1-ph-pins {
|
||||
uart1_ph_pins_a: uart1-ph-pins {
|
||||
pins = "PG6", "PG7", "PG8", "PG9";
|
||||
function = "uart1";
|
||||
phandle = <0x2b>;
|
||||
};
|
||||
|
||||
uart1-ph-sleep {
|
||||
uart1_ph_pins_b: uart1-ph-sleep {
|
||||
pins = "PG6", "PG7", "PG8", "PG9";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2c>;
|
||||
};
|
||||
|
||||
uart2-ph-pins {
|
||||
uart2_ph_pins_a: uart2-ph-pins {
|
||||
pins = "PH5", "PH6";
|
||||
function = "uart2";
|
||||
phandle = <0x2d>;
|
||||
};
|
||||
|
||||
uart2-ph-sleep {
|
||||
uart2_pi_pins_a: uart2-pi-pins {
|
||||
pins = "PI5", "PI6";
|
||||
function = "uart2";
|
||||
};
|
||||
|
||||
uart2_pi_pins_b: uart2-pi-sleep {
|
||||
pins = "PI5", "PI6";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
uart2_ph_pins_b: uart2-ph-sleep {
|
||||
pins = "PH5", "PH6";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2e>;
|
||||
};
|
||||
|
||||
uart3-ph-pins {
|
||||
uart3_pi_pins_a: uart3-pi-pins {
|
||||
pins = "PI9", "PI10";
|
||||
function = "uart3";
|
||||
phandle = <0x2f>;
|
||||
};
|
||||
|
||||
uart3-ph-sleep {
|
||||
uart3_pi_pins_b: uart3-pi-sleep {
|
||||
pins = "PI9", "PI10";
|
||||
function = "gpio_in";
|
||||
phandle = <0x30>;
|
||||
};
|
||||
|
||||
uart4-ph-pins {
|
||||
uart4_pi_pins_a: uart4-pi-pins {
|
||||
pins = "PI13", "PI14";
|
||||
function = "uart4";
|
||||
phandle = <0x31>;
|
||||
};
|
||||
|
||||
uart4-ph-sleep {
|
||||
uart4_pi_pins_b: uart4-pi-sleep {
|
||||
pins = "PI13", "PI14";
|
||||
function = "gpio_in";
|
||||
phandle = <0x32>;
|
||||
};
|
||||
|
||||
uart5-ph-pins {
|
||||
uart5_ph_pins_a: uart5-ph-pins {
|
||||
pins = "PH2", "PH3";
|
||||
function = "uart5";
|
||||
phandle = <0x33>;
|
||||
};
|
||||
|
||||
uart5-ph-sleep {
|
||||
uart5_ph_pins_b: uart5-ph-sleep {
|
||||
pins = "PH2", "PH3";
|
||||
function = "gpio_in";
|
||||
phandle = <0x34>;
|
||||
@@ -989,35 +995,44 @@
|
||||
phandle = <0x65>;
|
||||
};
|
||||
|
||||
twi0@0 {
|
||||
twi0_pi_pins_a: twi0-pi-pins-a@0 {
|
||||
pins = "PI5", "PI6";
|
||||
function = "twi0";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
phandle = <0x36>;
|
||||
};
|
||||
|
||||
twi0@1 {
|
||||
twi0_pi_pins_b: twi0-pi-pins-b@1 {
|
||||
pins = "PI5", "PI6";
|
||||
function = "gpio_in";
|
||||
phandle = <0x37>;
|
||||
};
|
||||
|
||||
twi1@0 {
|
||||
twi1_ph_pins_a: twi1-ph-pins-a@0 {
|
||||
pins = "PH0", "PH1";
|
||||
function = "twi1";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
phandle = <0x38>;
|
||||
};
|
||||
|
||||
twi1@1 {
|
||||
twi1_ph_pins_b: twi1-ph-pins-b@0 {
|
||||
pins = "PH0", "PH1";
|
||||
function = "gpio_in";
|
||||
phandle = <0x39>;
|
||||
};
|
||||
|
||||
twi2@0 {
|
||||
twi1_pi_pins_a: twi1-pi-pins-a@0 {
|
||||
pins = "PI7", "PI8";
|
||||
function = "twi1";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
twi1_pi_pins_b: twi1-pi-pins-b@0 {
|
||||
pins = "PI7", "PI8";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi2_ph_pins_a: twi2-ph-pins-a@0 {
|
||||
pins = "PH2", "PH3";
|
||||
function = "twi2";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1025,13 +1040,25 @@
|
||||
phandle = <0x3a>;
|
||||
};
|
||||
|
||||
twi2@1 {
|
||||
twi2_ph_pins_b: twi2-ph-pins-b@0 {
|
||||
pins = "PH2", "PH3";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3b>;
|
||||
};
|
||||
|
||||
twi3@0 {
|
||||
twi2_pi_pins_a: twi2-pi-pins-a@0 {
|
||||
pins = "PI9", "PI10";
|
||||
function = "twi2";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
twi2_pi_pins_b: twi2-pi-pins-b@0 {
|
||||
pins = "PI9", "PI10";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi3_ph_pins_a: twi3-ph-pins-a@0 {
|
||||
pins = "PH4", "PH5";
|
||||
function = "twi3";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1039,13 +1066,13 @@
|
||||
phandle = <0x3c>;
|
||||
};
|
||||
|
||||
twi3@1 {
|
||||
twi3_ph_pins_b: twi3-ph-pins-b@0 {
|
||||
pins = "PH4", "PH5";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3d>;
|
||||
};
|
||||
|
||||
twi4@0 {
|
||||
twi4_ph_pins_a: twi4-ph-pins-a@0 {
|
||||
pins = "PH6", "PH7";
|
||||
function = "twi4";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1053,7 +1080,7 @@
|
||||
phandle = <0x3e>;
|
||||
};
|
||||
|
||||
twi4@1 {
|
||||
twi4_ph_pins_b: twi4-ph-pins-b@0 {
|
||||
pins = "PH6", "PH7";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3f>;
|
||||
@@ -1081,26 +1108,30 @@
|
||||
phandle = <0x44>;
|
||||
};
|
||||
|
||||
spi1@0 {
|
||||
spi1_pins_a: spi1-pins-a {
|
||||
pins = "PH6", "PH7", "PH8";
|
||||
function = "spi1";
|
||||
drive-strength = <0x14>;
|
||||
phandle = <0x45>;
|
||||
};
|
||||
|
||||
spi1@1 {
|
||||
spi1_cs0_pin: spi1-cs0-pin {
|
||||
pins = "PH5";
|
||||
function = "spi1";
|
||||
drive-strength = <0x14>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
spi1_cs1_pin: spi1-cs1-pin {
|
||||
pins = "PH9";
|
||||
function = "spi1";
|
||||
drive-strength = <0x14>;
|
||||
bias-pull-up;
|
||||
phandle = <0x46>;
|
||||
};
|
||||
|
||||
spi1@2 {
|
||||
pins = "PH6", "PH7", "PH8", "PH9";
|
||||
spi1_pins_b: spi1-pins-b {
|
||||
pins = "PH6", "PH7", "PH8";
|
||||
function = "gpio_in";
|
||||
drive-strength = <0x14>;
|
||||
phandle = <0x47>;
|
||||
};
|
||||
|
||||
gmac0@0 {
|
||||
@@ -1135,66 +1166,114 @@
|
||||
phandle = <0x61>;
|
||||
};
|
||||
|
||||
pwm0_pin_a: pwm0@0 {
|
||||
pwm0_pin_a: pwm0-pin-a@0 {
|
||||
pins = "PD28";
|
||||
function = "pwm0";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm0_pin_b: pwm0@1 {
|
||||
pwm0_pin_b: pwm0-pin-b@0 {
|
||||
pins = "PD28";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm1_pin_a: pwm1@0 {
|
||||
pwm1_ph_pin_a: pwm1-ph-pin-a@0 {
|
||||
pins = "PH3";
|
||||
function = "pwm1";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm1_pin_b: pwm1@1 {
|
||||
pwm1_ph_pin_b: pwm1-ph-pin-b@0 {
|
||||
pins = "PH3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm2_pin_a: pwm2@0 {
|
||||
pwm2_ph_pin_a: pwm2-ph-pin-a@0 {
|
||||
pins = "PH2";
|
||||
function = "pwm2";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm2_pin_b: pwm2@1 {
|
||||
pwm2_ph_pin_b: pwm2-ph-pin-b@0 {
|
||||
pins = "PH2";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm3_pin_a: pwm3@0 {
|
||||
pwm3_ph_pin_a: pwm3-ph-pin-a@0 {
|
||||
pins = "PH0";
|
||||
function = "pwm3";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm3_pin_b: pwm3@1 {
|
||||
pwm3_ph_pin_b: pwm3-ph-pin-b@0 {
|
||||
pins = "PH0";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm4_pin_a: pwm4@0 {
|
||||
pwm4_ph_pin_a: pwm4-ph-pin-a@0 {
|
||||
pins = "PH1";
|
||||
function = "pwm4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm4_pin_b: pwm4@1 {
|
||||
pwm4_ph_pin_b: pwm4-ph-pin-b@0 {
|
||||
pins = "PH1";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm1_pi_pin_a: pwm1-pi-pin-a@0 {
|
||||
pins = "PI11";
|
||||
function = "pwm1";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm1_pi_pin_b: pwm1-pi-pin-b@0 {
|
||||
pins = "PI11";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm2_pi_pin_a: pwm2-pi-pin-a@0 {
|
||||
pins = "PI12";
|
||||
function = "pwm2";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm2_pi_pin_b: pwm2-pi-pin-b@0 {
|
||||
pins = "PI12";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm3_pi_pin_a: pwm3-pi-pin-a@0 {
|
||||
pins = "PI13";
|
||||
function = "pwm3";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm3_pi_pin_b: pwm3-pi-pin-b@0 {
|
||||
pins = "PI13";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm4_pi_pin_a: pwm4-pi-pin-a@0 {
|
||||
pins = "PI14";
|
||||
function = "pwm4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm4_pi_pin_b: pwm4-pi-pin-b@0 {
|
||||
pins = "PI14";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm5_pin_a: pwm5@0 {
|
||||
pins = "PA12";
|
||||
function = "pwm5";
|
||||
@@ -1516,7 +1595,7 @@
|
||||
phandle = <0x99>;
|
||||
};
|
||||
|
||||
uart@5000000 {
|
||||
uart0: uart@5000000 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5000000 0x0 0x400>;
|
||||
interrupts = <0x0 0x0 0x4>;
|
||||
@@ -1524,14 +1603,14 @@
|
||||
resets = <0x2 0x11>;
|
||||
uart0_port = <0x0>;
|
||||
uart0_type = <0x2>;
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x29>;
|
||||
pinctrl-1 = <0x2a>;
|
||||
phandle = <0x9a>;
|
||||
};
|
||||
|
||||
uart@5000400 {
|
||||
uart1: uart@5000400 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5000400 0x0 0x400>;
|
||||
interrupts = <0x0 0x1 0x4>;
|
||||
@@ -1548,7 +1627,7 @@
|
||||
phandle = <0x9b>;
|
||||
};
|
||||
|
||||
uart@5000800 {
|
||||
uart2: uart@5000800 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5000800 0x0 0x400>;
|
||||
interrupts = <0x0 0x2 0x4>;
|
||||
@@ -1564,7 +1643,7 @@
|
||||
phandle = <0x9c>;
|
||||
};
|
||||
|
||||
uart@5000c00 {
|
||||
uart3: uart@5000c00 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5000c00 0x0 0x400>;
|
||||
interrupts = <0x0 0x3 0x4>;
|
||||
@@ -1580,7 +1659,7 @@
|
||||
phandle = <0x9d>;
|
||||
};
|
||||
|
||||
uart@5001000 {
|
||||
uart4: uart@5001000 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5001000 0x0 0x400>;
|
||||
interrupts = <0x0 0x4 0x4>;
|
||||
@@ -1596,7 +1675,7 @@
|
||||
phandle = <0x9e>;
|
||||
};
|
||||
|
||||
uart@5001400 {
|
||||
uart5: uart@5001400 {
|
||||
compatible = "allwinner,sun50i-uart";
|
||||
reg = <0x0 0x5001400 0x0 0x400>;
|
||||
interrupts = <0x0 0x5 0x4>;
|
||||
@@ -1612,7 +1691,7 @@
|
||||
phandle = <0x9f>;
|
||||
};
|
||||
|
||||
twi@5002000 {
|
||||
twi0: twi@5002000 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1639,7 +1718,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
twi@5002400 {
|
||||
twi1: twi@5002400 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1660,7 +1739,7 @@
|
||||
phandle = <0xa1>;
|
||||
};
|
||||
|
||||
twi@5002800 {
|
||||
twi2: twi@5002800 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1681,7 +1760,7 @@
|
||||
phandle = <0xa2>;
|
||||
};
|
||||
|
||||
twi@5002c00 {
|
||||
twi3: twi@5002c00 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1693,7 +1772,7 @@
|
||||
resets = <0x2 0x1a>;
|
||||
dmas = <0x35 0x2e 0x35 0x2e>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
clock-frequency = <0x61a80>;
|
||||
pinctrl-0 = <0x3c>;
|
||||
pinctrl-1 = <0x3d>;
|
||||
@@ -1702,7 +1781,7 @@
|
||||
phandle = <0xa3>;
|
||||
};
|
||||
|
||||
twi@5003000 {
|
||||
twi4: twi@5003000 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1723,7 +1802,7 @@
|
||||
phandle = <0xa4>;
|
||||
};
|
||||
|
||||
twi@7081400 {
|
||||
twi5: twi@7081400 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-twi";
|
||||
@@ -1815,7 +1894,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi@5010000 {
|
||||
spi0: spi@5010000 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-spi";
|
||||
@@ -1845,11 +1924,20 @@
|
||||
compatible = "rohm,dh2228fv";
|
||||
spi-max-frequency = <0x10000000>;
|
||||
reg = <0x0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <0x10000000>;
|
||||
};
|
||||
};
|
||||
|
||||
spi@5011000 {
|
||||
spi1: spi@5011000 {
|
||||
#address-cells = <0x1>;
|
||||
#size-cells = <0x0>;
|
||||
compatible = "allwinner,sun50i-spi";
|
||||
@@ -1864,7 +1952,7 @@
|
||||
spi1_cs_bitmap = <0x2>;
|
||||
dmas = <0x35 0x17 0x35 0x17>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
spi_slave_mode = <0x0>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x45 0x46>;
|
||||
@@ -1872,13 +1960,13 @@
|
||||
/*spi_dbi_enable = <0x0>;*/
|
||||
phandle = <0xaa>;
|
||||
|
||||
spi_board1@1 {
|
||||
device_type = "spi_board1";
|
||||
compatible = "rohm,dh2228fv";
|
||||
spi-max-frequency = <0x989680>;
|
||||
reg = <0x1>;
|
||||
status = "okay";
|
||||
};
|
||||
//spi_board1: spi_board1@1 {
|
||||
// device_type = "spi_board1";
|
||||
// compatible = "rohm,dh2228fv";
|
||||
// spi-max-frequency = <0x989680>;
|
||||
// reg = <0x1>;
|
||||
// status = "disabled";
|
||||
//};
|
||||
};
|
||||
|
||||
thermal-sensor@5070400 {
|
||||
@@ -2016,7 +2104,7 @@
|
||||
ahub_dam_mach {
|
||||
compatible = "allwinner,sunxi-snd-mach";
|
||||
soundcard-mach,name = "ahubdam";
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
phandle = <0xaf>;
|
||||
|
||||
soundcard-mach,cpu {
|
||||
@@ -2265,19 +2353,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
status = "okay";
|
||||
|
||||
power {
|
||||
label = "red_led";
|
||||
gpios = <0x23 0x2 0xc 0x1>; /* PC12 */
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
status {
|
||||
led-green {
|
||||
label = "green_led";
|
||||
gpios = <0x23 0x2 0xd 0x1>; /* PC13 */
|
||||
default-state = "off";
|
||||
gpios = <0x23 0x2 0xd 0x0>; /* PC13 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2305,7 +2388,7 @@
|
||||
gmac-power0;
|
||||
gmac-power1;
|
||||
gmac-power2;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
use_ephy25m = <0x0>;
|
||||
pinctrl-0 = <0x5e>;
|
||||
pinctrl-1 = <0x5f>;
|
||||
@@ -2569,7 +2652,7 @@
|
||||
clocks = <0xd 0x8 0xa 0xd 0x7>;
|
||||
clock-names = "bus", "pclk", "mclk";
|
||||
resets = <0xd 0x3>;
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
s_cir0_used = <0x1>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x64>;
|
||||
@@ -2933,13 +3016,13 @@
|
||||
cryptoengine = "/soc@3000000/ce@1904000";
|
||||
soc_timer0 = "/soc@3000000/timer@3009000";
|
||||
wdt = "/soc@3000000/watchdog@30090a0";
|
||||
pwm = "/soc@3000000/pwm@300a000";
|
||||
/*pwm = "/soc@3000000/pwm@300a000";
|
||||
pwm0 = "/soc@3000000/pwm0@300a010";
|
||||
pwm1 = "/soc@3000000/pwm1@300a011";
|
||||
pwm2 = "/soc@3000000/pwm2@300a012";
|
||||
pwm3 = "/soc@3000000/pwm3@300a013";
|
||||
pwm4 = "/soc@3000000/pwm4@300a014";
|
||||
pwm5 = "/soc@3000000/pwm5@300a015";
|
||||
pwm5 = "/soc@3000000/pwm5@300a015";*/
|
||||
ac200 = "/soc@3000000/ac200";
|
||||
pio = "/soc@3000000/pinctrl@300b000";
|
||||
uart0_ph_pins = "/soc@3000000/pinctrl@300b000/uart0-ph-pins";
|
||||
@@ -2961,10 +3044,6 @@
|
||||
uart1_ph_sleep = "/soc@3000000/pinctrl@300b000/uart1-ph-sleep";
|
||||
uart2_ph_pins = "/soc@3000000/pinctrl@300b000/uart2-ph-pins";
|
||||
uart2_ph_sleep = "/soc@3000000/pinctrl@300b000/uart2-ph-sleep";
|
||||
uart3_ph_pins = "/soc@3000000/pinctrl@300b000/uart3-ph-pins";
|
||||
uart3_ph_sleep = "/soc@3000000/pinctrl@300b000/uart3-ph-sleep";
|
||||
uart4_ph_pins = "/soc@3000000/pinctrl@300b000/uart4-ph-pins";
|
||||
uart4_ph_sleep = "/soc@3000000/pinctrl@300b000/uart4-ph-sleep";
|
||||
uart5_ph_pins = "/soc@3000000/pinctrl@300b000/uart5-ph-pins";
|
||||
uart5_ph_sleep = "/soc@3000000/pinctrl@300b000/uart5-ph-sleep";
|
||||
s_cir0_pins_a = "/soc@3000000/pinctrl@300b000/s_cir0@0";
|
||||
@@ -2982,15 +3061,16 @@
|
||||
spi0_pins_a = "/soc@3000000/pinctrl@300b000/spi0@0";
|
||||
spi0_pins_b = "/soc@3000000/pinctrl@300b000/spi0@1";
|
||||
spi0_pins_c = "/soc@3000000/pinctrl@300b000/spi0@2";
|
||||
spi1_pins_a = "/soc@3000000/pinctrl@300b000/spi1@0";
|
||||
spi1_pins_b = "/soc@3000000/pinctrl@300b000/spi1@1";
|
||||
spi1_pins_c = "/soc@3000000/pinctrl@300b000/spi1@2";
|
||||
spi1_pins_a = "/soc@3000000/pinctrl@300b000/spi1-pins-a";
|
||||
spi1_pins_b = "/soc@3000000/pinctrl@300b000/spi1-pins-b";
|
||||
spi1_cs0_pin = "/soc@3000000/pinctrl@300b000/spi1-cs0-pin";
|
||||
spi1_cs1_pin = "/soc@3000000/pinctrl@300b000/spi1-cs1-pin";
|
||||
gmac0_pins_a = "/soc@3000000/pinctrl@300b000/gmac0@0";
|
||||
gmac0_pins_b = "/soc@3000000/pinctrl@300b000/gmac0@1";
|
||||
gmac1_pins_a = "/soc@3000000/pinctrl@300b000/gmac1@0";
|
||||
gmac1_pins_b = "/soc@3000000/pinctrl@300b000/gmac1@1";
|
||||
pwm5_pin_a = "/soc@3000000/pinctrl@300b000/pwm5@0";
|
||||
pwm5_pin_b = "/soc@3000000/pinctrl@300b000/pwm5@1";
|
||||
//pwm5_pin_a = "/soc@3000000/pinctrl@300b000/pwm5@0";
|
||||
//pwm5_pin_b = "/soc@3000000/pinctrl@300b000/pwm5@1";
|
||||
spdif_pins_a = "/soc@3000000/pinctrl@300b000/spdif@0";
|
||||
spdif_pins_b = "/soc@3000000/pinctrl@300b000/spdif_sleep@0";
|
||||
ahub_daudio0_pins_a = "/soc@3000000/pinctrl@300b000/ahub_daudio0@0";
|
||||
@@ -3015,7 +3095,7 @@
|
||||
sdc1 = "/soc@3000000/sdmmc@4021000";
|
||||
nand0 = "/soc@3000000/nand0@4011000";
|
||||
mbus0 = "/soc@3000000/mbus-controller@47fa000";
|
||||
uart0 = "/soc@3000000/uart@5000000";
|
||||
/*uart0 = "/soc@3000000/uart@5000000";
|
||||
uart1 = "/soc@3000000/uart@5000400";
|
||||
uart2 = "/soc@3000000/uart@5000800";
|
||||
uart3 = "/soc@3000000/uart@5000c00";
|
||||
@@ -3026,7 +3106,7 @@
|
||||
twi2 = "/soc@3000000/twi@5002800";
|
||||
twi3 = "/soc@3000000/twi@5002c00";
|
||||
twi4 = "/soc@3000000/twi@5003000";
|
||||
twi5 = "/soc@3000000/twi@7081400";
|
||||
twi5 = "/soc@3000000/twi@7081400";*/
|
||||
pmu0 = "/soc@3000000/twi@7081400/pmu";
|
||||
standby_param = "/soc@3000000/twi@7081400/pmu/standby_param";
|
||||
reg_dcdc1 = "/soc@3000000/twi@7081400/pmu/regulators/dcdc1";
|
||||
@@ -3034,8 +3114,8 @@
|
||||
reg_dcdc3 = "/soc@3000000/twi@7081400/pmu/regulators/dcdc3";
|
||||
reg_aldo1 = "/soc@3000000/twi@7081400/pmu/regulators/ldo1";
|
||||
reg_dldo1 = "/soc@3000000/twi@7081400/pmu/regulators/ldo2";
|
||||
spi0 = "/soc@3000000/spi@5010000";
|
||||
spi1 = "/soc@3000000/spi@5011000";
|
||||
/*spi0 = "/soc@3000000/spi@5010000";
|
||||
spi1 = "/soc@3000000/spi@5011000";*/
|
||||
ths = "/soc@3000000/thermal-sensor@5070400";
|
||||
gpadc = "/soc@3000000/gpadc@5070000";
|
||||
keyboard = "/soc@3000000/keyboard@5070800";
|
||||
213
external/packages/pack-uboot/sun50iw9/bin/dts/orangepizero3-u-boot-current.dts
vendored
Normal file → Executable file
213
external/packages/pack-uboot/sun50iw9/bin/dts/orangepizero3-u-boot-current.dts
vendored
Normal file → Executable file
@@ -719,8 +719,8 @@
|
||||
reg = <0x0 0x0300a011 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm1_pin_a>;
|
||||
pinctrl-1 = <&pwm1_pin_b>;
|
||||
pinctrl-0 = <&pwm1_ph_pin_a>;
|
||||
pinctrl-1 = <&pwm1_ph_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -729,8 +729,8 @@
|
||||
reg = <0x0 0x0300a012 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm2_pin_a>;
|
||||
pinctrl-1 = <&pwm2_pin_b>;
|
||||
pinctrl-0 = <&pwm2_ph_pin_a>;
|
||||
pinctrl-1 = <&pwm2_ph_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -739,8 +739,8 @@
|
||||
reg = <0x0 0x0300a013 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm3_pin_a>;
|
||||
pinctrl-1 = <&pwm3_pin_b>;
|
||||
pinctrl-0 = <&pwm3_ph_pin_a>;
|
||||
pinctrl-1 = <&pwm3_ph_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -749,8 +749,8 @@
|
||||
reg = <0x0 0x0300a014 0x0 0x4>;
|
||||
reg_base = <0x0300a000>;
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&pwm4_pin_a>;
|
||||
pinctrl-1 = <&pwm4_pin_b>;
|
||||
pinctrl-0 = <&pwm4_ph_pin_a>;
|
||||
pinctrl-1 = <&pwm4_ph_pin_b>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -790,14 +790,14 @@
|
||||
vcc-pg-supply = <0x17>;
|
||||
phandle = <0x23>;
|
||||
|
||||
uart0-ph-pins {
|
||||
uart0_ph_pins_a: uart0-ph-pins {
|
||||
pins = "PH0", "PH1";
|
||||
function = "uart0";
|
||||
bias-pull-up;
|
||||
phandle = <0x29>;
|
||||
};
|
||||
|
||||
uart0-ph-sleep {
|
||||
uart0_ph_pins_b: uart0-ph-sleep {
|
||||
pins = "PH0", "PH1";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2a>;
|
||||
@@ -915,61 +915,67 @@
|
||||
phandle = <0x28>;
|
||||
};
|
||||
|
||||
uart1-ph-pins {
|
||||
uart1_ph_pins_a: uart1-ph-pins {
|
||||
pins = "PG6", "PG7", "PG8", "PG9";
|
||||
function = "uart1";
|
||||
phandle = <0x2b>;
|
||||
};
|
||||
|
||||
uart1-ph-sleep {
|
||||
uart1_ph_pins_b: uart1-ph-sleep {
|
||||
pins = "PG6", "PG7", "PG8", "PG9";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2c>;
|
||||
};
|
||||
|
||||
uart2-ph-pins {
|
||||
uart2_ph_pins_a: uart2-ph-pins {
|
||||
pins = "PH5", "PH6";
|
||||
function = "uart2";
|
||||
phandle = <0x2d>;
|
||||
};
|
||||
|
||||
uart2-ph-sleep {
|
||||
uart2_pi_pins_a: uart2-pi-pins {
|
||||
pins = "PI5", "PI6";
|
||||
function = "uart2";
|
||||
};
|
||||
|
||||
uart2_pi_pins_b: uart2-pi-sleep {
|
||||
pins = "PI5", "PI6";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
uart2_ph_pins_b: uart2-ph-sleep {
|
||||
pins = "PH5", "PH6";
|
||||
function = "gpio_in";
|
||||
phandle = <0x2e>;
|
||||
};
|
||||
|
||||
uart3-ph-pins {
|
||||
uart3_pi_pins_a: uart3-pi-pins {
|
||||
pins = "PI9", "PI10";
|
||||
function = "uart3";
|
||||
phandle = <0x2f>;
|
||||
};
|
||||
|
||||
uart3-ph-sleep {
|
||||
uart3_pi_pins_b: uart3-pi-sleep {
|
||||
pins = "PI9", "PI10";
|
||||
function = "gpio_in";
|
||||
phandle = <0x30>;
|
||||
};
|
||||
|
||||
uart4-ph-pins {
|
||||
uart4_pi_pins_a: uart4-pi-pins {
|
||||
pins = "PI13", "PI14";
|
||||
function = "uart4";
|
||||
phandle = <0x31>;
|
||||
};
|
||||
|
||||
uart4-ph-sleep {
|
||||
uart4_pi_pins_b: uart4-pi-sleep {
|
||||
pins = "PI13", "PI14";
|
||||
function = "gpio_in";
|
||||
phandle = <0x32>;
|
||||
};
|
||||
|
||||
uart5-ph-pins {
|
||||
uart5_ph_pins_a: uart5-ph-pins {
|
||||
pins = "PH2", "PH3";
|
||||
function = "uart5";
|
||||
phandle = <0x33>;
|
||||
};
|
||||
|
||||
uart5-ph-sleep {
|
||||
uart5_ph_pins_b: uart5-ph-sleep {
|
||||
pins = "PH2", "PH3";
|
||||
function = "gpio_in";
|
||||
phandle = <0x34>;
|
||||
@@ -989,35 +995,44 @@
|
||||
phandle = <0x65>;
|
||||
};
|
||||
|
||||
twi0@0 {
|
||||
twi0_pi_pins_a: twi0-pi-pins-a@0 {
|
||||
pins = "PI5", "PI6";
|
||||
function = "twi0";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
phandle = <0x36>;
|
||||
};
|
||||
|
||||
twi0@1 {
|
||||
twi0_pi_pins_b: twi0-pi-pins-b@1 {
|
||||
pins = "PI5", "PI6";
|
||||
function = "gpio_in";
|
||||
phandle = <0x37>;
|
||||
};
|
||||
|
||||
twi1@0 {
|
||||
twi1_ph_pins_a: twi1-ph-pins-a@0 {
|
||||
pins = "PH0", "PH1";
|
||||
function = "twi1";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
phandle = <0x38>;
|
||||
};
|
||||
|
||||
twi1@1 {
|
||||
twi1_ph_pins_b: twi1-ph-pins-b@0 {
|
||||
pins = "PH0", "PH1";
|
||||
function = "gpio_in";
|
||||
phandle = <0x39>;
|
||||
};
|
||||
|
||||
twi2@0 {
|
||||
twi1_pi_pins_a: twi1-pi-pins-a@0 {
|
||||
pins = "PI7", "PI8";
|
||||
function = "twi1";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
twi1_pi_pins_b: twi1-pi-pins-b@0 {
|
||||
pins = "PI7", "PI8";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi2_ph_pins_a: twi2-ph-pins-a@0 {
|
||||
pins = "PH2", "PH3";
|
||||
function = "twi2";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1025,13 +1040,25 @@
|
||||
phandle = <0x3a>;
|
||||
};
|
||||
|
||||
twi2@1 {
|
||||
twi2_ph_pins_b: twi2-ph-pins-b@0 {
|
||||
pins = "PH2", "PH3";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3b>;
|
||||
};
|
||||
|
||||
twi3@0 {
|
||||
twi2_pi_pins_a: twi2-pi-pins-a@0 {
|
||||
pins = "PI9", "PI10";
|
||||
function = "twi2";
|
||||
drive-strength = <0xa>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
twi2_pi_pins_b: twi2-pi-pins-b@0 {
|
||||
pins = "PI9", "PI10";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
twi3_ph_pins_a: twi3-ph-pins-a@0 {
|
||||
pins = "PH4", "PH5";
|
||||
function = "twi3";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1039,13 +1066,13 @@
|
||||
phandle = <0x3c>;
|
||||
};
|
||||
|
||||
twi3@1 {
|
||||
twi3_ph_pins_b: twi3-ph-pins-b@0 {
|
||||
pins = "PH4", "PH5";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3d>;
|
||||
};
|
||||
|
||||
twi4@0 {
|
||||
twi4_ph_pins_a: twi4-ph-pins-a@0 {
|
||||
pins = "PH6", "PH7";
|
||||
function = "twi4";
|
||||
drive-strength = <0xa>;
|
||||
@@ -1053,7 +1080,7 @@
|
||||
phandle = <0x3e>;
|
||||
};
|
||||
|
||||
twi4@1 {
|
||||
twi4_ph_pins_b: twi4-ph-pins-b@0 {
|
||||
pins = "PH6", "PH7";
|
||||
function = "gpio_in";
|
||||
phandle = <0x3f>;
|
||||
@@ -1135,66 +1162,114 @@
|
||||
phandle = <0x61>;
|
||||
};
|
||||
|
||||
pwm0_pin_a: pwm0@0 {
|
||||
pwm0_pin_a: pwm0-pin-a@0 {
|
||||
pins = "PD28";
|
||||
function = "pwm0";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm0_pin_b: pwm0@1 {
|
||||
pwm0_pin_b: pwm0-pin-b@0 {
|
||||
pins = "PD28";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm1_pin_a: pwm1@0 {
|
||||
pwm1_ph_pin_a: pwm1-ph-pin-a@0 {
|
||||
pins = "PH3";
|
||||
function = "pwm1";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm1_pin_b: pwm1@1 {
|
||||
pwm1_ph_pin_b: pwm1-ph-pin-b@0 {
|
||||
pins = "PH3";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm2_pin_a: pwm2@0 {
|
||||
pwm2_ph_pin_a: pwm2-ph-pin-a@0 {
|
||||
pins = "PH2";
|
||||
function = "pwm2";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm2_pin_b: pwm2@1 {
|
||||
pwm2_ph_pin_b: pwm2-ph-pin-b@0 {
|
||||
pins = "PH2";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm3_pin_a: pwm3@0 {
|
||||
pwm3_ph_pin_a: pwm3-ph-pin-a@0 {
|
||||
pins = "PH0";
|
||||
function = "pwm3";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm3_pin_b: pwm3@1 {
|
||||
pwm3_ph_pin_b: pwm3-ph-pin-b@0 {
|
||||
pins = "PH0";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm4_pin_a: pwm4@0 {
|
||||
pwm4_ph_pin_a: pwm4-ph-pin-a@0 {
|
||||
pins = "PH1";
|
||||
function = "pwm4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm4_pin_b: pwm4@1 {
|
||||
pwm4_ph_pin_b: pwm4-ph-pin-b@0 {
|
||||
pins = "PH1";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm1_pi_pin_a: pwm1-pi-pin-a@0 {
|
||||
pins = "PI11";
|
||||
function = "pwm1";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm1_pi_pin_b: pwm1-pi-pin-b@0 {
|
||||
pins = "PI11";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm2_pi_pin_a: pwm2-pi-pin-a@0 {
|
||||
pins = "PI12";
|
||||
function = "pwm2";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm2_pi_pin_b: pwm2-pi-pin-b@0 {
|
||||
pins = "PI12";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm3_pi_pin_a: pwm3-pi-pin-a@0 {
|
||||
pins = "PI13";
|
||||
function = "pwm3";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm3_pi_pin_b: pwm3-pi-pin-b@0 {
|
||||
pins = "PI13";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm4_pi_pin_a: pwm4-pi-pin-a@0 {
|
||||
pins = "PI14";
|
||||
function = "pwm4";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pwm4_pi_pin_b: pwm4-pi-pin-b@0 {
|
||||
pins = "PI14";
|
||||
function = "gpio_in";
|
||||
};
|
||||
|
||||
pwm5_pin_a: pwm5@0 {
|
||||
pins = "PA12";
|
||||
function = "pwm5";
|
||||
@@ -1845,7 +1920,16 @@
|
||||
compatible = "rohm,dh2228fv";
|
||||
spi-max-frequency = <0x10000000>;
|
||||
reg = <0x0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
flash@0 {
|
||||
status = "okay";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <0x10000000>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2265,19 +2349,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
status = "okay";
|
||||
|
||||
power {
|
||||
led-red {
|
||||
label = "red_led";
|
||||
gpios = <0x23 0x2 0xc 0x1>; /* PC12 */
|
||||
default-state = "on";
|
||||
gpios = <0x23 0x2 0xc 0x0>; /* PC12 */
|
||||
linux,default-trigger = "none";
|
||||
};
|
||||
|
||||
status {
|
||||
led-green {
|
||||
label = "green_led";
|
||||
gpios = <0x23 0x2 0xd 0x1>; /* PC13 */
|
||||
default-state = "off";
|
||||
gpios = <0x23 0x2 0xd 0x0>; /* PC13 */
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2933,13 +3018,13 @@
|
||||
cryptoengine = "/soc@3000000/ce@1904000";
|
||||
soc_timer0 = "/soc@3000000/timer@3009000";
|
||||
wdt = "/soc@3000000/watchdog@30090a0";
|
||||
pwm = "/soc@3000000/pwm@300a000";
|
||||
/*pwm = "/soc@3000000/pwm@300a000";
|
||||
pwm0 = "/soc@3000000/pwm0@300a010";
|
||||
pwm1 = "/soc@3000000/pwm1@300a011";
|
||||
pwm2 = "/soc@3000000/pwm2@300a012";
|
||||
pwm3 = "/soc@3000000/pwm3@300a013";
|
||||
pwm4 = "/soc@3000000/pwm4@300a014";
|
||||
pwm5 = "/soc@3000000/pwm5@300a015";
|
||||
pwm5 = "/soc@3000000/pwm5@300a015";*/
|
||||
ac200 = "/soc@3000000/ac200";
|
||||
pio = "/soc@3000000/pinctrl@300b000";
|
||||
uart0_ph_pins = "/soc@3000000/pinctrl@300b000/uart0-ph-pins";
|
||||
@@ -2961,10 +3046,6 @@
|
||||
uart1_ph_sleep = "/soc@3000000/pinctrl@300b000/uart1-ph-sleep";
|
||||
uart2_ph_pins = "/soc@3000000/pinctrl@300b000/uart2-ph-pins";
|
||||
uart2_ph_sleep = "/soc@3000000/pinctrl@300b000/uart2-ph-sleep";
|
||||
uart3_ph_pins = "/soc@3000000/pinctrl@300b000/uart3-ph-pins";
|
||||
uart3_ph_sleep = "/soc@3000000/pinctrl@300b000/uart3-ph-sleep";
|
||||
uart4_ph_pins = "/soc@3000000/pinctrl@300b000/uart4-ph-pins";
|
||||
uart4_ph_sleep = "/soc@3000000/pinctrl@300b000/uart4-ph-sleep";
|
||||
uart5_ph_pins = "/soc@3000000/pinctrl@300b000/uart5-ph-pins";
|
||||
uart5_ph_sleep = "/soc@3000000/pinctrl@300b000/uart5-ph-sleep";
|
||||
s_cir0_pins_a = "/soc@3000000/pinctrl@300b000/s_cir0@0";
|
||||
@@ -2989,8 +3070,8 @@
|
||||
gmac0_pins_b = "/soc@3000000/pinctrl@300b000/gmac0@1";
|
||||
gmac1_pins_a = "/soc@3000000/pinctrl@300b000/gmac1@0";
|
||||
gmac1_pins_b = "/soc@3000000/pinctrl@300b000/gmac1@1";
|
||||
pwm5_pin_a = "/soc@3000000/pinctrl@300b000/pwm5@0";
|
||||
pwm5_pin_b = "/soc@3000000/pinctrl@300b000/pwm5@1";
|
||||
//pwm5_pin_a = "/soc@3000000/pinctrl@300b000/pwm5@0";
|
||||
//pwm5_pin_b = "/soc@3000000/pinctrl@300b000/pwm5@1";
|
||||
spdif_pins_a = "/soc@3000000/pinctrl@300b000/spdif@0";
|
||||
spdif_pins_b = "/soc@3000000/pinctrl@300b000/spdif_sleep@0";
|
||||
ahub_daudio0_pins_a = "/soc@3000000/pinctrl@300b000/ahub_daudio0@0";
|
||||
@@ -3015,7 +3096,7 @@
|
||||
sdc1 = "/soc@3000000/sdmmc@4021000";
|
||||
nand0 = "/soc@3000000/nand0@4011000";
|
||||
mbus0 = "/soc@3000000/mbus-controller@47fa000";
|
||||
uart0 = "/soc@3000000/uart@5000000";
|
||||
/*uart0 = "/soc@3000000/uart@5000000";
|
||||
uart1 = "/soc@3000000/uart@5000400";
|
||||
uart2 = "/soc@3000000/uart@5000800";
|
||||
uart3 = "/soc@3000000/uart@5000c00";
|
||||
@@ -3026,7 +3107,7 @@
|
||||
twi2 = "/soc@3000000/twi@5002800";
|
||||
twi3 = "/soc@3000000/twi@5002c00";
|
||||
twi4 = "/soc@3000000/twi@5003000";
|
||||
twi5 = "/soc@3000000/twi@7081400";
|
||||
twi5 = "/soc@3000000/twi@7081400";*/
|
||||
pmu0 = "/soc@3000000/twi@7081400/pmu";
|
||||
standby_param = "/soc@3000000/twi@7081400/pmu/standby_param";
|
||||
reg_dcdc1 = "/soc@3000000/twi@7081400/pmu/regulators/dcdc1";
|
||||
@@ -3034,8 +3115,8 @@
|
||||
reg_dcdc3 = "/soc@3000000/twi@7081400/pmu/regulators/dcdc3";
|
||||
reg_aldo1 = "/soc@3000000/twi@7081400/pmu/regulators/ldo1";
|
||||
reg_dldo1 = "/soc@3000000/twi@7081400/pmu/regulators/ldo2";
|
||||
spi0 = "/soc@3000000/spi@5010000";
|
||||
spi1 = "/soc@3000000/spi@5011000";
|
||||
/*spi0 = "/soc@3000000/spi@5010000";
|
||||
spi1 = "/soc@3000000/spi@5011000";*/
|
||||
ths = "/soc@3000000/thermal-sensor@5070400";
|
||||
gpadc = "/soc@3000000/gpadc@5070000";
|
||||
keyboard = "/soc@3000000/keyboard@5070800";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
845
external/packages/pack-uboot/sun50iw9/bin/sys_config/sys_config_orangepizero2w.fex
vendored
Executable file
845
external/packages/pack-uboot/sun50iw9/bin/sys_config/sys_config_orangepizero2w.fex
vendored
Executable file
@@ -0,0 +1,845 @@
|
||||
;sunxi platform application
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
|
||||
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
|
||||
[product]
|
||||
version = "100"
|
||||
machine = "orangepizero3"
|
||||
|
||||
[platform]
|
||||
eraseflag = 1
|
||||
debug_mode = 3
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;[target] system bootup configuration
|
||||
;boot_clock = CPU boot frequency, Unit: MHz
|
||||
;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
|
||||
;advert_enable = 0-close advert logo 1-open advert logo (只有多核启动下有效)
|
||||
;----------------------------------------------------------------------------------
|
||||
[target]
|
||||
boot_clock = 1008
|
||||
storage_type = -1
|
||||
advert_enable = 0
|
||||
burn_key = 1
|
||||
dragonboard_test= 0
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; system configuration
|
||||
; ?
|
||||
;dcdc2_vol ---set dcdc2 voltage,mV,500-1200,10mV/step
|
||||
; 1220-1540,20mV/step
|
||||
;aldo1_vol ---set aldo1 voltage,mV,500-3500,100mV/step
|
||||
;dldo1_vol ---set dldo1 voltage,mV,500-3500,100mV/step
|
||||
;----------------------------------------------------------------------------------
|
||||
[power_sply]
|
||||
dcdc2_vol = 1001000
|
||||
aldo1_vol = 1001800
|
||||
dldo1_vol = 1003300
|
||||
cldo1_vol = 1001800
|
||||
|
||||
[axp1530_power_sply]
|
||||
dcdc2_vol = 1001000
|
||||
aldo1_vol = 1001800
|
||||
dldo1_vol = 1003300
|
||||
cldo1_vol = 1001800
|
||||
|
||||
[axp806_power_sply]
|
||||
dcdce_vol = 1003300
|
||||
;dcdcd_vol = 1001110
|
||||
aldo1_vol = 1003300
|
||||
bldo1_vol = 1001800
|
||||
bldo2_vol = 1001800
|
||||
cldo1_vol = 1001800
|
||||
|
||||
[card_boot]
|
||||
logical_start = 40960
|
||||
sprite_gpio0 =
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; ir_boot_recovery_used : 1: used this function 0: not used
|
||||
; ir_work_mode : 模式选择
|
||||
; 0: 刷机,
|
||||
; 1: 一键恢复(uboot阶段),
|
||||
; 2: 安卓recovery,
|
||||
; 3: 安卓恢复出厂设置.
|
||||
; 如果不设置,默认为安卓recovery .
|
||||
; ir_press_times : ir遥控器连续按几次才生效,如果不设置默认为按1次生效
|
||||
; ir_detect_time : ir遥控检测时间,单位:ms,如果不设置默认为3000ms
|
||||
; ir_key_no_duplicate : ir遥控按键是否可重复,0:可重复(默认),1:不可重复;
|
||||
; 不可重复表示一个按键无论被按下几次,都只算ir_press_times的一次;
|
||||
; 不可重复的应用场景为组合按键功能,如:交替按下'菜单键'和'音量-键'进入安卓recovery.
|
||||
; ir_recovery_key_code0 : ir check key code
|
||||
; ir_addr_code0 : ir key addr
|
||||
; you can increase ir support num, like:
|
||||
; ir_recovery_key_code1, or 2, 3, but limit to 16
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
[ir_boot_recovery]
|
||||
ir_boot_recovery_used = 1
|
||||
ir_work_mode = 1
|
||||
ir_press_times = 2
|
||||
ir_detect_time = 1
|
||||
ir_key_no_duplicate = 0
|
||||
ir_recovery_key_code0 = 0x11
|
||||
ir_addr_code0 = 0xfe01
|
||||
ir_recovery_key_code1 = 0x19
|
||||
ir_addr_code1 = 0xfe01
|
||||
ir_recovery_key_code2 = 0x4c
|
||||
ir_addr_code2 = 0xfe01
|
||||
ir_recovery_key_code3 = 0x00
|
||||
ir_addr_code3 = 0xfe01
|
||||
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
; recovery_key_used : 模块使能端, 1:开启,0:关闭
|
||||
; press_mode_enable : 长短按模式使能,1:开启,0:关闭
|
||||
; a)如果开启了该模式,则key_work_mode失效,short_press_mode和long_press_mode生>效,
|
||||
; recovery按键可以通过长按和短按来触发两种不同的模式;
|
||||
; b)如果关闭了该模式,则key_work_mode生效,recovery按键只能触发一种模式.
|
||||
; key_work_mode : 模式选择
|
||||
; 0: 刷机,
|
||||
; 1: 一键恢复(uboot阶段),
|
||||
; 2: 安卓recovery,
|
||||
; 3: 安卓恢复出厂设置.
|
||||
; 如果不设置,模式为安卓recovery.
|
||||
; short_press_mode : 长按触发的模式,选项同上.
|
||||
; long_press_mode : 短按触发的模式,选项同上.
|
||||
; key_press_time : 定义长按的时间,单位:毫秒.
|
||||
; recovery_key : 按键配置.
|
||||
;----------------------------------------------------------------------------------
|
||||
[key_boot_recovery]
|
||||
recovery_key_used = 1
|
||||
press_mode_enable = 0
|
||||
key_work_mode = 0
|
||||
short_press_mode = 0
|
||||
long_press_mode = 1
|
||||
key_press_time = 2000
|
||||
recovery_key =
|
||||
|
||||
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
; if 1 == standby_mode, then support super standby;
|
||||
; else, support normal standby.
|
||||
;---------------------------------------------------------------------------------------------------------
|
||||
[pm_para]
|
||||
standby_mode = 1
|
||||
|
||||
[card0_boot_para]
|
||||
card_ctrl = 0
|
||||
card_high_speed = 1
|
||||
card_line = 4
|
||||
sdc_d1 = port:PF0<2><1><3><default>
|
||||
sdc_d0 = port:PF1<2><1><3><default>
|
||||
sdc_clk = port:PF2<2><1><3><default>
|
||||
sdc_cmd = port:PF3<2><1><3><default>
|
||||
sdc_d3 = port:PF4<2><1><3><default>
|
||||
sdc_d2 = port:PF5<2><1><3><default>
|
||||
;sdc_type = "tm1"
|
||||
|
||||
[card2_boot_para]
|
||||
card_ctrl = 2
|
||||
card_high_speed = 1
|
||||
card_line = 8
|
||||
sdc_clk = port:PC5<3><1><3><default>
|
||||
sdc_cmd = port:PC6<3><1><3><default>
|
||||
sdc_d0 = port:PC10<3><1><3><default>
|
||||
sdc_d1 = port:PC13<3><1><3><default>
|
||||
sdc_d2 = port:PC15<3><1><3><default>
|
||||
sdc_d3 = port:PC8<3><1><3><default>
|
||||
sdc_d4 = port:PC9<3><1><3><default>
|
||||
sdc_d5 = port:PC11<3><1><3><default>
|
||||
sdc_d6 = port:PC14<3><1><3><default>
|
||||
sdc_d7 = port:PC16<3><1><3><default>
|
||||
sdc_emmc_rst = port:PC1<3><1><3><default>
|
||||
sdc_ds = port:PC0<3><2><3><default>
|
||||
sdc_ex_dly_used = 2
|
||||
sdc_io_1v8 = 1
|
||||
;sdc_dis_host_caps = 0x100
|
||||
;sdc_type = "tm4"
|
||||
|
||||
[gpio_bias]
|
||||
pc_bias = 1800
|
||||
|
||||
[twi_para]
|
||||
twi_port = 0
|
||||
twi_scl = port:PH14<2><default><default><default>
|
||||
twi_sda = port:PH15<2><default><default><default>
|
||||
|
||||
[auto_print]
|
||||
auto_print_used = 1
|
||||
|
||||
[uart_para]
|
||||
uart_debug_port = 0
|
||||
uart_debug_tx = port:PH00<2><1><default><default>
|
||||
uart_debug_rx = port:PH01<2><1><default><default>
|
||||
|
||||
[jtag_para]
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PH9<3><default><default><default>
|
||||
jtag_ck = port:PH10<3><default><default><default>
|
||||
jtag_do = port:PH11<3><default><default><default>
|
||||
jtag_di = port:PH12<3><default><default><default>
|
||||
|
||||
[clock]
|
||||
pll4 = 300
|
||||
pll6 = 600
|
||||
pll8 = 360
|
||||
pll9 = 297
|
||||
pll10 = 264
|
||||
|
||||
;*****************************************************************************
|
||||
;
|
||||
;dram select configuration
|
||||
;
|
||||
;select_mode : dram模式选择, 0:不进行自动识别
|
||||
; 1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
|
||||
; 2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
|
||||
; 3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
|
||||
;gpadc_channel : 选择gpadc通道 有效值(0-3)
|
||||
;select_gpio1-4 : 选择gpio pin
|
||||
;*****************************************************************************
|
||||
|
||||
|
||||
[dram_select_para]
|
||||
select_mode = 0
|
||||
gpadc_channel = 1
|
||||
select_gpio0 =
|
||||
select_gpio1 =
|
||||
select_gpio2 =
|
||||
select_gpio3 =
|
||||
|
||||
;*****************************************************************************
|
||||
;sdram configuration
|
||||
;
|
||||
;*****************************************************************************
|
||||
[dram_para]
|
||||
dram_clk = 792
|
||||
dram_type = 8
|
||||
dram_dx_odt = 0x07070707
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 0xaaaaeeee
|
||||
dram_para1 = 0x30fa
|
||||
dram_para2 = 0x0000
|
||||
dram_mr0 = 0x0
|
||||
dram_mr1 = 0x34
|
||||
dram_mr2 = 0x1b
|
||||
dram_mr3 = 0x33
|
||||
dram_mr4 = 0x3
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x4
|
||||
dram_mr12 = 0x72
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x9
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x24
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x35808080
|
||||
dram_tpr10 = 0x402f6663
|
||||
dram_tpr11 = 0x36363535
|
||||
dram_tpr12 = 0x10101110
|
||||
dram_tpr13 = 0x2080C60
|
||||
|
||||
[dram_para1]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para2]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para3]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para4]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para5]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para6]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para7]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para8]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para9]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para10]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para11]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para12]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para13]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para14]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para15]
|
||||
|
||||
dram_clk = 720
|
||||
dram_type = 3
|
||||
dram_dx_odt = 0x08080808
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 1
|
||||
dram_para1 = 0x30FA
|
||||
dram_para2 = 0x1000
|
||||
dram_mr0 = 0x840
|
||||
dram_mr1 = 0x4
|
||||
dram_mr2 = 0x8
|
||||
dram_mr3 = 0x0
|
||||
dram_mr4 = 0x0
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x0
|
||||
dram_mr12 = 0x0
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x0
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x0
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x33808080
|
||||
dram_tpr10 = 0x00f83438
|
||||
dram_tpr11 = 0x0
|
||||
dram_tpr12 = 0x0
|
||||
dram_tpr13 = 0x40
|
||||
|
||||
[dram_para16]
|
||||
dram_clk = 792
|
||||
dram_type = 8
|
||||
dram_dx_odt = 0x07070707
|
||||
dram_dx_dri = 0x0e0e0e0e
|
||||
dram_ca_dri = 0x0e0e
|
||||
dram_odt_en = 0xaaaaeeee
|
||||
dram_para1 = 0x30fa
|
||||
dram_para2 = 0x0000
|
||||
dram_mr0 = 0x0
|
||||
dram_mr1 = 0x34
|
||||
dram_mr2 = 0x1b
|
||||
dram_mr3 = 0x33
|
||||
dram_mr4 = 0x3
|
||||
dram_mr5 = 0x0
|
||||
dram_mr6 = 0x0
|
||||
dram_mr11 = 0x4
|
||||
dram_mr12 = 0x72
|
||||
dram_mr13 = 0x0
|
||||
dram_mr14 = 0x9
|
||||
dram_mr16 = 0x0
|
||||
dram_mr17 = 0x0
|
||||
dram_mr22 = 0x24
|
||||
dram_tpr0 = 0x0
|
||||
dram_tpr1 = 0x0
|
||||
dram_tpr2 = 0x0
|
||||
dram_tpr3 = 0x0
|
||||
dram_tpr6 = 0x35808080
|
||||
dram_tpr10 = 0x402f6663
|
||||
dram_tpr11 = 0x36363535
|
||||
dram_tpr12 = 0x10101110
|
||||
dram_tpr13 = 0x2080C60
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;os life cycle para configuration
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;uart configuration
|
||||
;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
|
||||
;----------------------------------------------------------------------------------
|
||||
[uart0]
|
||||
uart0_used = 1
|
||||
uart0_port = 0
|
||||
uart0_type = 2
|
||||
uart0_tx = port:PH00<2><1><default><default>
|
||||
uart0_rx = port:PH01<2><1><default><default>
|
||||
|
||||
[nand0_para]
|
||||
nand0_support_2ch = 0
|
||||
|
||||
nand0_used = 0
|
||||
nand0_we = port:PC00<2><0><1><default>
|
||||
nand0_ale = port:PC01<2><0><1><default>
|
||||
nand0_cle = port:PC02<2><0><1><default>
|
||||
nand0_ce0 = port:PC03<2><1><1><default>
|
||||
nand0_nre = port:PC04<2><0><1><default>
|
||||
nand0_rb0 = port:PC05<2><1><1><default>
|
||||
nand0_d0 = port:PC06<2><0><1><default>
|
||||
nand0_d1 = port:PC07<2><0><1><default>
|
||||
nand0_d2 = port:PC08<2><0><1><default>
|
||||
nand0_d3 = port:PC09<2><0><1><default>
|
||||
nand0_d4 = port:PC10<2><0><1><default>
|
||||
nand0_d5 = port:PC11<2><0><1><default>
|
||||
nand0_d6 = port:PC12<2><0><1><default>
|
||||
nand0_d7 = port:PC13<2><0><1><default>
|
||||
nand0_ndqs = port:PC14<2><0><1><default>
|
||||
nand0_ce1 = port:PC15<2><1><1><default>
|
||||
nand0_rb1 = port:PC16<2><1><1><default>
|
||||
|
||||
nand0_regulator1 = "vcc-nand"
|
||||
nand0_regulator2 = "none"
|
||||
nand0_cache_level = 0x55aaaa55
|
||||
nand0_flush_cache_num = 0x55aaaa55
|
||||
nand0_capacity_level = 0x55aaaa55
|
||||
nand0_id_number_ctl = 0x55aaaa55
|
||||
nand0_print_level = 0x55aaaa55
|
||||
nand0_p0 = 0x55aaaa55
|
||||
nand0_p1 = 0x55aaaa55
|
||||
nand0_p2 = 0x55aaaa55
|
||||
nand0_p3 = 0x55aaaa55
|
||||
|
||||
[secure]
|
||||
dram_region_mbytes = 80
|
||||
drm_region_mbytes = 0
|
||||
drm_region_start_mbytes = 0
|
||||
Reference in New Issue
Block a user