Skip to content

Commit 7fbdc6a

Browse files
committed
Merge tag 'at91-dt-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt
AT91 DT for 5.9 - ClassD pull down fixes - Enable RTT as RTC on sam9x60ek - Fix phy-mode for sama5d3_xplained * tag 'at91-dt-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: ARM: dts: at91: sama5d3_xplained: change phy-mode ARM: dts: at91: sama5d2_xplained: Remove pdmic node ARM: dts: sam9x60: add rtt dt-bindings: rtc: add microchip,sam9x60-rtt ARM: dts: at91: sam9x60ek: classd: pull-down the L1 and L3 lines ARM: dts: at91: sama5d2_xplained: classd: pull-down the R1 and R3 lines Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 4a77526 + 7dbf4bb commit 7fbdc6a

File tree

5 files changed

+31
-25
lines changed

5 files changed

+31
-25
lines changed

Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Atmel AT91SAM9260 Real Time Timer
22

33
Required properties:
4-
- compatible: should be: "atmel,at91sam9260-rtt"
4+
- compatible: should be one of the following:
5+
- "atmel,at91sam9260-rtt"
6+
- "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"
57
- reg: should encode the memory region of the RTT controller
68
- interrupts: rtt alarm/event interrupt
79
- clocks: should contain the 32 KHz slow clk that will drive the RTT block.

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@
309309
};
310310
};
311311

312+
&gpbr {
313+
status = "okay";
314+
};
315+
312316
&i2s {
313317
pinctrl-names = "default";
314318
pinctrl-0 = <&pinctrl_i2s_default>;
@@ -470,9 +474,9 @@
470474
pinctrl_classd_default: classd {
471475
atmel,pins =
472476
<AT91_PIOA 24 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
473-
AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
477+
AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN
474478
AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
475-
AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>;
479+
AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN>;
476480
};
477481
};
478482

@@ -636,6 +640,11 @@
636640
};
637641
};
638642

643+
&rtt {
644+
atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
645+
status = "okay";
646+
};
647+
639648
&shutdown_controller {
640649
atmel,shdwc-debouncer = <976>;
641650
status = "okay";

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

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,6 @@
168168
};
169169
};
170170

171-
pdmic@f8018000 {
172-
pinctrl-names = "default";
173-
pinctrl-0 = <&pinctrl_pdmic_default>;
174-
atmel,model = "PDMIC @ sama5d2_xplained";
175-
atmel,mic-min-freq = <1000000>;
176-
atmel,mic-max-freq = <3246000>;
177-
atmel,mic-offset = <0x0>;
178-
status = "okay";
179-
};
180-
181171
uart1: serial@f8020000 {
182172
pinctrl-names = "default";
183173
pinctrl-0 = <&pinctrl_uart1_default>;
@@ -490,14 +480,18 @@
490480
bias-pull-up;
491481
};
492482

493-
pinctrl_classd_default: classd_default {
483+
pinctrl_classd_default_pfets: classd_default_pfets {
494484
pinmux = <PIN_PB1__CLASSD_R0>,
495-
<PIN_PB2__CLASSD_R1>,
496-
<PIN_PB3__CLASSD_R2>,
497-
<PIN_PB4__CLASSD_R3>;
485+
<PIN_PB3__CLASSD_R2>;
498486
bias-pull-up;
499487
};
500488

489+
pinctrl_classd_default_nfets: classd_default_nfets {
490+
pinmux = <PIN_PB2__CLASSD_R1>,
491+
<PIN_PB4__CLASSD_R3>;
492+
bias-pull-down;
493+
};
494+
501495
pinctrl_flx0_default: flx0_default {
502496
pinmux = <PIN_PB28__FLEXCOM0_IO0>,
503497
<PIN_PB29__FLEXCOM0_IO1>;
@@ -595,12 +589,6 @@
595589
bias-disable;
596590
};
597591

598-
pinctrl_pdmic_default: pdmic_default {
599-
pinmux = <PIN_PB26__PDMIC_DAT>,
600-
<PIN_PB27__PDMIC_CLK>;
601-
bias-disable;
602-
};
603-
604592
pinctrl_qspi0_default: qspi0_default {
605593
sck_cs {
606594
pinmux = <PIN_PA22__QSPI0_SCK>,
@@ -696,7 +684,7 @@
696684

697685
classd: classd@fc048000 {
698686
pinctrl-names = "default";
699-
pinctrl-0 = <&pinctrl_classd_default>;
687+
pinctrl-0 = <&pinctrl_classd_default_pfets &pinctrl_classd_default_nfets>;
700688
atmel,pwm-type = "diff";
701689
atmel,non-overlap-time = <10>;
702690
status = "okay";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
};
129129

130130
macb0: ethernet@f0028000 {
131-
phy-mode = "rgmii";
131+
phy-mode = "rgmii-rxid";
132132
#address-cells = <1>;
133133
#size-cells = <0>;
134134
status = "okay";

arch/arm/boot/dts/sam9x60.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,13 @@
661661
status = "disabled";
662662
};
663663

664+
rtt: rtt@fffffe20 {
665+
compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
666+
reg = <0xfffffe20 0x20>;
667+
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
668+
clocks = <&clk32k 0>;
669+
};
670+
664671
pit: timer@fffffe40 {
665672
compatible = "atmel,at91sam9260-pit";
666673
reg = <0xfffffe40 0x10>;

0 commit comments

Comments
 (0)