Skip to content

Commit b83132f

Browse files
committed
Merge tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91 into fixes
First fixes for 4.5. Only DT changes: - sama5d4: error in DBGU index - addition of phy properties in several boards - at91sam9n12ek fix a panel compatible string * tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91: ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0 ARM: dts: at91: sama5d2 xplained: add phy address and IRQ for macb0 ARM: dts: at91: at91sam9n12ek: fix panel compatible string ARM: dts: at91: sama5d4: fix instance id of DBGU Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 43acf83 + e873cc0 commit b83132f

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

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/sama5d4.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@
13421342
dbgu: serial@fc069000 {
13431343
compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
13441344
reg = <0xfc069000 0x200>;
1345-
interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
1345+
interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
13461346
pinctrl-names = "default";
13471347
pinctrl-0 = <&pinctrl_dbgu>;
13481348
clocks = <&dbgu_clk>;

0 commit comments

Comments
 (0)