Skip to content

Commit fba7e99

Browse files
committed
Merge tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "One more week's worth of fixes. Worth pointing out here are: - A patch fixing detaching of iommu registrations when a device is removed -- earlier the ops pointer wasn't managed properly - Another set of Renesas boards get the same GIC setup fixup as others have in previous -rcs - Serial port aliases fixups for sunxi. We did the same to tegra but we caught that in time before the merge window due to more machines being affected. Here it took longer for anyone to notice. - A couple more DT tweaks on sunxi - A follow-up patch for the mvebu coherency disabling in last -rc batch" * tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: arm: dma-mapping: Set DMA IOMMU ops in arm_iommu_attach_device() ARM: shmobile: r8a7790: Instantiate GIC from C board code in legacy builds ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds ARM: mvebu: don't set the PL310 in I/O coherency mode when I/O coherency is disabled ARM: sunxi: dt: Fix aliases ARM: dts: sun4i: Add simplefb node with de_fe0-de_be0-lcd0-hdmi pipeline ARM: dts: sun6i: ippo-q8h-v5: Fix serial0 alias ARM: dts: sunxi: Fix usb-phy support for sun4i/sun5i
2 parents 3441456 + 28111dd commit fba7e99

22 files changed

+150
-71
lines changed

arch/arm/boot/dts/sun4i-a10.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717

1818
aliases {
1919
ethernet0 = &emac;
20-
serial0 = &uart0;
21-
serial1 = &uart1;
22-
serial2 = &uart2;
23-
serial3 = &uart3;
24-
serial4 = &uart4;
25-
serial5 = &uart5;
26-
serial6 = &uart6;
27-
serial7 = &uart7;
2820
};
2921

3022
chosen {
@@ -39,6 +31,14 @@
3931
<&ahb_gates 44>;
4032
status = "disabled";
4133
};
34+
35+
framebuffer@1 {
36+
compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
37+
allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
38+
clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
39+
<&ahb_gates 44>, <&ahb_gates 46>;
40+
status = "disabled";
41+
};
4242
};
4343

4444
cpus {
@@ -438,8 +438,8 @@
438438
reg-names = "phy_ctrl", "pmu1", "pmu2";
439439
clocks = <&usb_clk 8>;
440440
clock-names = "usb_phy";
441-
resets = <&usb_clk 1>, <&usb_clk 2>;
442-
reset-names = "usb1_reset", "usb2_reset";
441+
resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
442+
reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
443443
status = "disabled";
444444
};
445445

arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
model = "Olimex A10s-Olinuxino Micro";
5656
compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";
5757

58+
aliases {
59+
serial0 = &uart0;
60+
serial1 = &uart2;
61+
serial2 = &uart3;
62+
};
63+
5864
soc@01c00000 {
5965
emac: ethernet@01c0b000 {
6066
pinctrl-names = "default";

arch/arm/boot/dts/sun5i-a10s.dtsi

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818

1919
aliases {
2020
ethernet0 = &emac;
21-
serial0 = &uart0;
22-
serial1 = &uart1;
23-
serial2 = &uart2;
24-
serial3 = &uart3;
2521
};
2622

2723
chosen {
@@ -390,8 +386,8 @@
390386
reg-names = "phy_ctrl", "pmu1";
391387
clocks = <&usb_clk 8>;
392388
clock-names = "usb_phy";
393-
resets = <&usb_clk 1>;
394-
reset-names = "usb1_reset";
389+
resets = <&usb_clk 0>, <&usb_clk 1>;
390+
reset-names = "usb0_reset", "usb1_reset";
395391
status = "disabled";
396392
};
397393

arch/arm/boot/dts/sun5i-a13-hsg-h702.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
model = "HSG H702";
5454
compatible = "hsg,h702", "allwinner,sun5i-a13";
5555

56+
aliases {
57+
serial0 = &uart1;
58+
};
59+
5660
soc@01c00000 {
5761
mmc0: mmc@01c0f000 {
5862
pinctrl-names = "default";

arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
model = "Olimex A13-Olinuxino Micro";
5555
compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
5656

57+
aliases {
58+
serial0 = &uart1;
59+
};
60+
5761
soc@01c00000 {
5862
mmc0: mmc@01c0f000 {
5963
pinctrl-names = "default";

arch/arm/boot/dts/sun5i-a13-olinuxino.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
model = "Olimex A13-Olinuxino";
5656
compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
5757

58+
aliases {
59+
serial0 = &uart1;
60+
};
61+
5862
soc@01c00000 {
5963
mmc0: mmc@01c0f000 {
6064
pinctrl-names = "default";

arch/arm/boot/dts/sun5i-a13.dtsi

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
/ {
1717
interrupt-parent = <&intc>;
1818

19-
aliases {
20-
serial0 = &uart1;
21-
serial1 = &uart3;
22-
};
23-
2419
cpus {
2520
#address-cells = <1>;
2621
#size-cells = <0>;
@@ -349,8 +344,8 @@
349344
reg-names = "phy_ctrl", "pmu1";
350345
clocks = <&usb_clk 8>;
351346
clock-names = "usb_phy";
352-
resets = <&usb_clk 1>;
353-
reset-names = "usb1_reset";
347+
resets = <&usb_clk 0>, <&usb_clk 1>;
348+
reset-names = "usb0_reset", "usb1_reset";
354349
status = "disabled";
355350
};
356351

arch/arm/boot/dts/sun6i-a31.dtsi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@
5353
interrupt-parent = <&gic>;
5454

5555
aliases {
56-
serial0 = &uart0;
57-
serial1 = &uart1;
58-
serial2 = &uart2;
59-
serial3 = &uart3;
60-
serial4 = &uart4;
61-
serial5 = &uart5;
6256
ethernet0 = &gmac;
6357
};
6458

arch/arm/boot/dts/sun7i-a20-bananapi.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
model = "LeMaker Banana Pi";
5656
compatible = "lemaker,bananapi", "allwinner,sun7i-a20";
5757

58+
aliases {
59+
serial0 = &uart0;
60+
serial1 = &uart3;
61+
serial2 = &uart7;
62+
};
63+
5864
soc@01c00000 {
5965
spi0: spi@01c05000 {
6066
pinctrl-names = "default";

arch/arm/boot/dts/sun7i-a20-hummingbird.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
model = "Merrii A20 Hummingbird";
2020
compatible = "merrii,a20-hummingbird", "allwinner,sun7i-a20";
2121

22+
aliases {
23+
serial0 = &uart0;
24+
serial1 = &uart2;
25+
serial2 = &uart3;
26+
serial3 = &uart4;
27+
serial4 = &uart5;
28+
};
29+
2230
soc@01c00000 {
2331
mmc0: mmc@01c0f000 {
2432
pinctrl-names = "default";

0 commit comments

Comments
 (0)