Skip to content

Commit 12d28f9

Browse files
committed
Merge tag 'sunxi-fixes-for-4.11-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into fixes
Allwinner fixes for 4.11, bis Two fixes for the recent A33 cpufreq support, and one to fix a missing register in the A64 USB PHY node. * tag 'sunxi-fixes-for-4.11-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: arm64: allwinner: a64: add pmu0 regs for USB PHY ARM: sun8i: a33: add operating-points-v2 property to all nodes ARM: sun8i: a33: remove highest OPP to fix CPU crashes Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents d4ee21e + 0d98479 commit 12d28f9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

arch/arm/boot/dts/sun8i-a33.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@
6666
opp-microvolt = <1200000>;
6767
clock-latency-ns = <244144>; /* 8 32k periods */
6868
};
69-
70-
opp@1200000000 {
71-
opp-hz = /bits/ 64 <1200000000>;
72-
opp-microvolt = <1320000>;
73-
clock-latency-ns = <244144>; /* 8 32k periods */
74-
};
7569
};
7670

7771
cpus {
@@ -81,16 +75,22 @@
8175
operating-points-v2 = <&cpu0_opp_table>;
8276
};
8377

78+
cpu@1 {
79+
operating-points-v2 = <&cpu0_opp_table>;
80+
};
81+
8482
cpu@2 {
8583
compatible = "arm,cortex-a7";
8684
device_type = "cpu";
8785
reg = <2>;
86+
operating-points-v2 = <&cpu0_opp_table>;
8887
};
8988

9089
cpu@3 {
9190
compatible = "arm,cortex-a7";
9291
device_type = "cpu";
9392
reg = <3>;
93+
operating-points-v2 = <&cpu0_opp_table>;
9494
};
9595
};
9696

arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,10 @@
179179
usbphy: phy@01c19400 {
180180
compatible = "allwinner,sun50i-a64-usb-phy";
181181
reg = <0x01c19400 0x14>,
182+
<0x01c1a800 0x4>,
182183
<0x01c1b800 0x4>;
183184
reg-names = "phy_ctrl",
185+
"pmu0",
184186
"pmu1";
185187
clocks = <&ccu CLK_USB_PHY0>,
186188
<&ccu CLK_USB_PHY1>;

0 commit comments

Comments
 (0)