Skip to content

Commit da0c9b2

Browse files
committed
Ported over DTB differences from Android image.
1 parent f55fc68 commit da0c9b2

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

blobs/pine64.dts

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,13 +1132,13 @@
11321132
allwinner,drive = <0xffffffff>;
11331133
allwinner,data = <0xffffffff>;
11341134
};
1135-
gmac_para@0 {
1135+
gmac0@0 {
11361136
linux,phandle = <0x0000009e>;
11371137
phandle = <0x0000009e>;
1138-
allwinner,pins = "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "PA14", "PA15", "PA16", "PA17", "PA18", "PA19", "PA20", "PA21", "PA22", "PA23", "PA24", "PA25", "PA26", "PA27";
1139-
allwinner,function = "gmac_para";
1140-
allwinner,pname = "gmac_txd0", "gmac_txd1", "gmac_txd2", "gmac_txd3", "gmac_txd4", "gmac_txd5", "gmac_txd6", "gmac_txd7", "gmac_txclk", "gmac_txen", "gmac_gtxclk", "gmac_rxd0", "gmac_rxd1", "gmac_rxd2", "gmac_rxd3", "gmac_rxd4", "gmac_rxd5", "gmac_rxd6", "gmac_rxd7", "gmac_rxdv", "gmac_rxclk", "gmac_txerr", "gmac_rxerr", "gmac_col", "gmac_crs", "gmac_clkin", "gmac_mdc", "gmac_mdio";
1141-
allwinner,muxsel = <0x00000002>;
1138+
allwinner,pins = "PD18", "PD17", "PD16", "PD15", "PD20", "PD19", "PD11", "PD10", "PD9", "PD8", "PD13", "PD12", "PD21", "PD22", "PD23";
1139+
allwinner,function = "gmac0";
1140+
allwinner,pname = "gmac_txd0", "gmac_txd1", "gmac_txd2", "gmac_txd3", "gmac_txen", "gmac_gtxclk", "gmac_rxd0", "gmac_rxd1", "gmac_rxd2", "gmac_rxd3", "gmac_rxdv", "gmac_rxclk", "gmac_clkin", "gmac_mdc", "gmac_mdio";
1141+
allwinner,muxsel = <0x00000004>;
11421142
allwinner,pull = <0xffffffff>;
11431143
allwinner,drive = <0xffffffff>;
11441144
allwinner,data = <0xffffffff>;
@@ -1939,6 +1939,8 @@
19391939
ignore-pm-notify;
19401940
};
19411941
disp@01000000 {
1942+
fb_base = <0x47400000>;
1943+
boot_disp = <0x0000040a>;
19421944
compatible = "allwinner,sun50i-disp";
19431945
reg = <0x00000000 0x01000000 0x00000000 0x00300000 0x00000000 0x01c0c000 0x00000000 0x000017fc 0x00000000 0x01ca0000 0x00000000 0x000010fc>;
19441946
interrupts = <0x00000000 0x00000056 0x00000104 0x00000000 0x00000057 0x00000104 0x00000000 0x00000059 0x00000104>;
@@ -1947,13 +1949,13 @@
19471949
device_type = "disp";
19481950
disp_init_enable = <0x00000001>;
19491951
disp_mode = <0x00000000>;
1950-
screen0_output_type = <0x00000001>;
1951-
screen0_output_mode = <0x00000004>;
1952+
screen0_output_type = <0x00000003>;
1953+
screen0_output_mode = <0x0000000a>;
19521954
screen1_output_type = <0x00000003>;
19531955
screen1_output_mode = <0x00000004>;
19541956
fb0_format = <0x00000000>;
1955-
fb0_width = <0x00000000>;
1956-
fb0_height = <0x00000000>;
1957+
fb0_width = <0x00000780>;
1958+
fb0_height = <0x00000438>;
19571959
fb1_format = <0x00000000>;
19581960
fb1_width = <0x00000000>;
19591961
fb1_height = <0x00000000>;
@@ -2102,8 +2104,8 @@
21022104
compatible = "allwinner,boot_disp";
21032105
device_type = "boot_disp";
21042106
output_disp = <0x00000000>;
2105-
output_type = <0x00000001>;
2106-
output_mode = <0x00000004>;
2107+
output_type = <0x00000003>;
2108+
output_mode = <0x0000000a>;
21072109
};
21082110
cci@0x01cb3000 {
21092111
compatible = "allwinner,sunxi-csi_cci";
@@ -2128,8 +2130,8 @@
21282130
pinctrl-0 = <0x000000b1>;
21292131
csi0_mck = <0x00000030 0x00000004 0x00000001 0x00000000 0x00000000 0x00000001 0x00000000>;
21302132
dev@0 {
2131-
csi0_dev0_mname = "gc2155";
2132-
csi0_dev0_twi_addr = <0x00000078>;
2133+
csi0_dev0_mname = "hm5065";
2134+
csi0_dev0_twi_addr = <0x0000003e>;
21332135
csi0_dev0_pos = "rear";
21342136
csi0_dev0_isp_used = <0x00000001>;
21352137
csi0_dev0_fmt = <0x00000000>;
@@ -2161,8 +2163,8 @@
21612163
csi0_dev0_af_pwdn;
21622164
};
21632165
dev@1 {
2164-
csi0_dev1_mname = "gc0329";
2165-
csi0_dev1_twi_addr = <0x00000062>;
2166+
csi0_dev1_mname = "gc2145";
2167+
csi0_dev1_twi_addr = <0x00000078>;
21662168
csi0_dev1_pos = "front";
21672169
csi0_dev1_isp_used = <0x00000001>;
21682170
csi0_dev1_fmt = <0x00000000>;
@@ -2556,18 +2558,19 @@
25562558
compatible = "allwinner,sunxi-gmac";
25572559
reg = <0x00000000 0x01c30000 0x00000000 0x00040000 0x00000000 0x01c00000 0x00000000 0x00000030>;
25582560
pinctrl-names = "default";
2559-
pinctrl-0 = <0x0000008e>;
2561+
pinctrl-0 = <0x0000009e>;
25602562
interrupts = <0x00000000 0x00000052 0x00000004>;
25612563
interrupt-names = "gmacirq";
25622564
clocks = <0x0000008f>;
25632565
clock-names = "gmac";
25642566
phy-mode = "rgmii";
25652567
tx-delay = <0x00000007>;
25662568
rx-delay = <0x0000001f>;
2567-
gmac_power1 = "axp81x_dldo2:2500000";
2568-
gmac_power2 = "axp81x_eldo2:1800000";
2569-
gmac_power3 = "axp81x_fldo1:1200000";
2569+
gmac_power1 = "axp81x_dc1sw:0";
2570+
gmac_power2;
2571+
gmac_power3;
25702572
status = "okay";
2573+
device_type = "gmac0";
25712574
};
25722575
product {
25732576
device_type = "product";
@@ -2986,15 +2989,15 @@
29862989
dram_type = <0x00000003>;
29872990
dram_zq = <0x003b3bbb>;
29882991
dram_odt_en = <0x00000001>;
2989-
dram_para1 = <0x10e410e4>;
2990-
dram_para2 = <0x00001000>;
2991-
dram_mr0 = <0x00001840>;
2992+
dram_para1 = <0x10e40400>;
2993+
dram_para2 = <0x04000000>;
2994+
dram_mr0 = <0x00001c70>;
29922995
dram_mr1 = <0x00000040>;
29932996
dram_mr2 = <0x00000018>;
2994-
dram_mr3 = <0x00000002>;
2995-
dram_tpr0 = <0x004a2195>;
2996-
dram_tpr1 = <0x02424190>;
2997-
dram_tpr2 = <0x0008b060>;
2997+
dram_mr3 = <0x00000000>;
2998+
dram_tpr0 = <0x0048a192>;
2999+
dram_tpr1 = <0x01c2418d>;
3000+
dram_tpr2 = <0x00076051>;
29983001
dram_tpr3 = <0x04b005dc>;
29993002
dram_tpr4 = <0x00000000>;
30003003
dram_tpr5 = <0x00000000>;
@@ -3005,12 +3008,12 @@
30053008
dram_tpr10 = <0x00008808>;
30063009
dram_tpr11 = <0x20250000>;
30073010
dram_tpr12 = <0x00000000>;
3008-
dram_tpr13 = <0x04000800>;
3011+
dram_tpr13 = <0x04000803>;
30093012
device_type = "dram";
30103013
};
30113014
memory@40000000 {
30123015
device_type = "memory";
3013-
reg = <0x00000000 0x40000000 0x00000000 0x40000000>;
3016+
reg = <0x00000000 0x41000000 0x00000000 0x3f000000>;
30143017
};
30153018
interrupt-controller@1c81000 {
30163019
compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";

0 commit comments

Comments
 (0)