Skip to content

Commit c17dfb0

Browse files
committed
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "The first real batch of fixes for this release cycle, so there are a few more than usual. Most of these are fixes and tweaks to board support (DT bugfixes, etc). I've also picked up a couple of small cleanups that seemed innocent enough that there was little reason to wait (const/ __initconst and Kconfig deps). Quite a bit of the changes on OMAP were due to fixes to no longer write to rodata from assembly when ARM_KERNMEM_PERMS was enabled, but there were also other fixes. Kirkwood had a bunch of gpio fixes for some boards. OMAP had RTC fixes on OMAP5, and Nomadik had changes to MMC parameters in DT. All in all, mostly the usual mix of various fixes" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (46 commits) ARM: multi_v7_defconfig: enable DW_WATCHDOG ARM: nomadik: fix up SD/MMC DT settings ARM64: tegra: Add chosen node for tegra132 norrin ARM: realview: use "depends on" instead of "if" after prompt ARM: tango: use "depends on" instead of "if" after prompt ARM: tango: use const and __initconst for smp_operations ARM: realview: use const and __initconst for smp_operations bus: uniphier-system-bus: revive tristate prompt arm64: dts: Add missing DMA Abort interrupt to Juno bus: vexpress-config: Add missing of_node_put ARM: dts: am57xx: sbc-am57x: correct Eth PHY settings ARM: dts: am57xx: cl-som-am57x: fix CPSW EMAC pinmux ARM: dts: am57xx: sbc-am57x: fix UART3 pinmux ARM: dts: am57xx: cl-som-am57x: update SPI Flash frequency ARM: dts: am57xx: cl-som-am57x: set HOST mode for USB2 ARM: dts: am57xx: sbc-am57x: fix SB-SOM EEPROM I2C address ARM: dts: LogicPD Torpedo: Revert Duplicative Entries ARM: dts: am437x: pixcir_tangoc: use correct flags for irq types ARM: dts: am4372: fix irq type for arm twd and global timer ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type ...
2 parents 63fee12 + 381a65c commit c17dfb0

33 files changed

+230
-149
lines changed

arch/arm/boot/dts/am33xx.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@
439439
ti,mbox-num-users = <4>;
440440
ti,mbox-num-fifos = <8>;
441441
mbox_wkupm3: wkup_m3 {
442+
ti,mbox-send-noirq;
442443
ti,mbox-tx = <0 0 0>;
443444
ti,mbox-rx = <0 0 3>;
444445
};

arch/arm/boot/dts/am4372.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@
7373
global_timer: timer@48240200 {
7474
compatible = "arm,cortex-a9-global-timer";
7575
reg = <0x48240200 0x100>;
76-
interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
76+
interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
7777
interrupt-parent = <&gic>;
7878
clocks = <&mpu_periphclk>;
7979
};
8080

8181
local_timer: timer@48240600 {
8282
compatible = "arm,cortex-a9-twd-timer";
8383
reg = <0x48240600 0x100>;
84-
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>;
84+
interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
8585
interrupt-parent = <&gic>;
8686
clocks = <&mpu_periphclk>;
8787
};
@@ -290,6 +290,7 @@
290290
ti,mbox-num-users = <4>;
291291
ti,mbox-num-fifos = <8>;
292292
mbox_wkupm3: wkup_m3 {
293+
ti,mbox-send-noirq;
293294
ti,mbox-tx = <0 0 0>;
294295
ti,mbox-rx = <0 0 3>;
295296
};

arch/arm/boot/dts/am437x-gp-evm.dts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,16 +590,14 @@
590590
pinctrl-names = "default";
591591
pinctrl-0 = <&pixcir_ts_pins>;
592592
reg = <0x5c>;
593-
interrupt-parent = <&gpio3>;
594-
interrupts = <22 0>;
595593

596594
attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
597595

598596
/*
599597
* 0x264 represents the offset of padconf register of
600598
* gpio3_22 from am43xx_pinmux base.
601599
*/
602-
interrupts-extended = <&gpio3 22 IRQ_TYPE_NONE>,
600+
interrupts-extended = <&gpio3 22 IRQ_TYPE_EDGE_FALLING>,
603601
<&am43xx_pinmux 0x264>;
604602
interrupt-names = "tsc", "wakeup";
605603

arch/arm/boot/dts/am43x-epos-evm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@
491491
pinctrl-0 = <&pixcir_ts_pins>;
492492
reg = <0x5c>;
493493
interrupt-parent = <&gpio1>;
494-
interrupts = <17 0>;
494+
interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
495495

496496
attb-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
497497

arch/arm/boot/dts/am57xx-cl-som-am57x.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 */
168168
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 */
169169
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 */
170-
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT_PULLUP | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */
170+
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */
171171
>;
172172
};
173173

@@ -492,14 +492,14 @@
492492
pinctrl-names = "default";
493493
pinctrl-0 = <&qspi1_pins>;
494494

495-
spi-max-frequency = <20000000>;
495+
spi-max-frequency = <48000000>;
496496

497497
spi_flash: spi_flash@0 {
498498
#address-cells = <1>;
499499
#size-cells = <1>;
500500
compatible = "spansion,m25p80", "jedec,spi-nor";
501501
reg = <0>; /* CS0 */
502-
spi-max-frequency = <20000000>;
502+
spi-max-frequency = <48000000>;
503503

504504
partition@0 {
505505
label = "uboot";
@@ -559,13 +559,13 @@
559559

560560
&cpsw_emac0 {
561561
phy_id = <&davinci_mdio>, <0>;
562-
phy-mode = "rgmii";
562+
phy-mode = "rgmii-txid";
563563
dual_emac_res_vlan = <0>;
564564
};
565565

566566
&cpsw_emac1 {
567567
phy_id = <&davinci_mdio>, <1>;
568-
phy-mode = "rgmii";
568+
phy-mode = "rgmii-txid";
569569
dual_emac_res_vlan = <1>;
570570
};
571571

@@ -588,7 +588,7 @@
588588
};
589589

590590
&usb2 {
591-
dr_mode = "peripheral";
591+
dr_mode = "host";
592592
};
593593

594594
&mcasp3 {

arch/arm/boot/dts/am57xx-sbc-am57x.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
&dra7_pmx_core {
2626
uart3_pins_default: uart3_pins_default {
2727
pinctrl-single,pins = <
28-
DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_SLEW | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
29-
DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_SLEW | MUX_MODE1) /* uart2_rtsn.uart3_txd */
28+
DRA7XX_CORE_IOPAD(0x3648, PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd */
29+
DRA7XX_CORE_IOPAD(0x364c, PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */
3030
>;
3131
};
3232

@@ -108,9 +108,9 @@
108108
pinctrl-0 = <&i2c5_pins_default>;
109109
clock-frequency = <400000>;
110110

111-
eeprom_base: atmel@50 {
111+
eeprom_base: atmel@54 {
112112
compatible = "atmel,24c08";
113-
reg = <0x50>;
113+
reg = <0x54>;
114114
pagesize = <16>;
115115
};
116116

arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
nand-on-flash-bbt;
153153

154154
partitions {
155+
compatible = "fixed-partitions";
155156
#address-cells = <1>;
156157
#size-cells = <1>;
157158

arch/arm/boot/dts/at91-sama5d2_xplained.dts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,15 @@
114114

115115
macb0: ethernet@f8008000 {
116116
pinctrl-names = "default";
117-
pinctrl-0 = <&pinctrl_macb0_default>;
117+
pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
118118
phy-mode = "rmii";
119119
status = "okay";
120+
121+
ethernet-phy@1 {
122+
reg = <0x1>;
123+
interrupt-parent = <&pioA>;
124+
interrupts = <73 IRQ_TYPE_LEVEL_LOW>;
125+
};
120126
};
121127

122128
pdmic@f8018000 {
@@ -300,6 +306,10 @@
300306
bias-disable;
301307
};
302308

309+
pinctrl_macb0_phy_irq: macb0_phy_irq {
310+
pinmux = <PIN_PC9__GPIO>;
311+
};
312+
303313
pinctrl_pdmic_default: pdmic_default {
304314
pinmux = <PIN_PB26__PDMIC_DAT>,
305315
<PIN_PB27__PDMIC_CLK>;

arch/arm/boot/dts/at91-sama5d4_xplained.dts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@
8686
macb0: ethernet@f8020000 {
8787
phy-mode = "rmii";
8888
status = "okay";
89+
pinctrl-names = "default";
90+
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
8991

9092
phy0: ethernet-phy@1 {
9193
interrupt-parent = <&pioE>;
92-
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
94+
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
9395
reg = <1>;
9496
};
9597
};
@@ -152,6 +154,10 @@
152154
atmel,pins =
153155
<AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
154156
};
157+
pinctrl_macb0_phy_irq: macb0_phy_irq_0 {
158+
atmel,pins =
159+
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
160+
};
155161
};
156162
};
157163
};

arch/arm/boot/dts/at91-sama5d4ek.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,15 @@
160160
};
161161

162162
macb0: ethernet@f8020000 {
163+
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
163164
phy-mode = "rmii";
164165
status = "okay";
166+
167+
ethernet-phy@1 {
168+
reg = <0x1>;
169+
interrupt-parent = <&pioE>;
170+
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
171+
};
165172
};
166173

167174
mmc1: mmc@fc000000 {
@@ -193,6 +200,10 @@
193200

194201
pinctrl@fc06a000 {
195202
board {
203+
pinctrl_macb0_phy_irq: macb0_phy_irq {
204+
atmel,pins =
205+
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
206+
};
196207
pinctrl_mmc0_cd: mmc0_cd {
197208
atmel,pins =
198209
<AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;

arch/arm/boot/dts/at91sam9n12ek.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
};
216216

217217
panel: panel {
218-
compatible = "qd,qd43003c0-40", "simple-panel";
218+
compatible = "qiaodian,qd43003c0-40", "simple-panel";
219219
backlight = <&backlight>;
220220
power-supply = <&panel_reg>;
221221
#address-cells = <1>;

arch/arm/boot/dts/kirkwood-lswvl.dts

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
* Device Tree file for Buffalo Linkstation LS-WVL/VL
33
*
4-
* Copyright (C) 2015, [email protected]
4+
* Copyright (C) 2015, 2016
5+
* Roger Shimizu <[email protected]>
56
*
67
* This program is free software; you can redistribute it and/or
78
* modify it under the terms of the GNU General Public License
@@ -156,21 +157,21 @@
156157
button@1 {
157158
label = "Function Button";
158159
linux,code = <KEY_OPTION>;
159-
gpios = <&gpio0 45 GPIO_ACTIVE_LOW>;
160+
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
160161
};
161162

162163
button@2 {
163164
label = "Power-on Switch";
164165
linux,code = <KEY_RESERVED>;
165166
linux,input-type = <5>;
166-
gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
167+
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
167168
};
168169

169170
button@3 {
170171
label = "Power-auto Switch";
171172
linux,code = <KEY_ESC>;
172173
linux,input-type = <5>;
173-
gpios = <&gpio0 47 GPIO_ACTIVE_LOW>;
174+
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
174175
};
175176
};
176177

@@ -185,38 +186,38 @@
185186

186187
led@1 {
187188
label = "lswvl:red:alarm";
188-
gpios = <&gpio0 36 GPIO_ACTIVE_LOW>;
189+
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
189190
};
190191

191192
led@2 {
192193
label = "lswvl:red:func";
193-
gpios = <&gpio0 37 GPIO_ACTIVE_LOW>;
194+
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
194195
};
195196

196197
led@3 {
197198
label = "lswvl:amber:info";
198-
gpios = <&gpio0 38 GPIO_ACTIVE_LOW>;
199+
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
199200
};
200201

201202
led@4 {
202203
label = "lswvl:blue:func";
203-
gpios = <&gpio0 39 GPIO_ACTIVE_LOW>;
204+
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
204205
};
205206

206207
led@5 {
207208
label = "lswvl:blue:power";
208-
gpios = <&gpio0 40 GPIO_ACTIVE_LOW>;
209+
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
209210
default-state = "keep";
210211
};
211212

212213
led@6 {
213214
label = "lswvl:red:hdderr0";
214-
gpios = <&gpio0 34 GPIO_ACTIVE_LOW>;
215+
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
215216
};
216217

217218
led@7 {
218219
label = "lswvl:red:hdderr1";
219-
gpios = <&gpio0 35 GPIO_ACTIVE_LOW>;
220+
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
220221
};
221222
};
222223

@@ -233,7 +234,7 @@
233234
3250 1
234235
5000 0>;
235236

236-
alarm-gpios = <&gpio0 43 GPIO_ACTIVE_HIGH>;
237+
alarm-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
237238
};
238239

239240
restart_poweroff {

0 commit comments

Comments
 (0)