Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'at91-dt-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt

AT91 DT for v5.20

It contains:
- compilation warning fixes for SAMA5D2
- updates for all AT91 device tree to use generic name for reset
controller
- reset controller node for SAMA7G5
- MCAN1 and UDPHS nodes for LAN966 SoCs
- Flexcom3 bindings were updated for lan966x-pcb8291.dts board to cope
with reality

* tag 'at91-dt-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
ARM: dts: lan966x: Add UDPHS support
dt-bindings: usb: atmel: Add Microchip LAN9662 compatible string
ARM: dts: lan966x: Cleanup flexcom3 usart pinctrl settings.
ARM: dts: lan966x: Add mcan1 node.
ARM: dts: at91: sama7g5: add reset-controller node
ARM: dts: at91: use generic name for reset controller
ARM: dts: at91: sama5d2: fix compilation warning
ARM: dts: at91: sama5d2: fix compilation warning

Link: https://lore.kernel.org/r/20220705084637.818216-1-claudiu.beznea@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+69 -37
+3
Documentation/devicetree/bindings/usb/atmel-usb.txt
··· 87 87 "atmel,at91sam9g45-udc" 88 88 "atmel,sama5d3-udc" 89 89 "microchip,sam9x60-udc" 90 + "microchip,lan9662-udc" 91 + For "microchip,lan9662-udc" the fallback "atmel,sama5d3-udc" 92 + is required. 90 93 - reg: Address and length of the register set for the device 91 94 - interrupts: Should contain usba interrupt 92 95 - clocks: Should reference the peripheral and host clocks
+2
arch/arm/boot/dts/at91-sama5d27_som1.dtsi
··· 83 83 macb0: ethernet@f8008000 { 84 84 pinctrl-names = "default"; 85 85 pinctrl-0 = <&pinctrl_macb0_default>; 86 + #address-cells = <1>; 87 + #size-cells = <0>; 86 88 phy-mode = "rmii"; 87 89 88 90 ethernet-phy@7 {
+2
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
··· 194 194 &macb0 { 195 195 pinctrl-names = "default"; 196 196 pinctrl-0 = <&pinctrl_macb0_default>; 197 + #address-cells = <1>; 198 + #size-cells = <0>; 197 199 phy-mode = "rmii"; 198 200 199 201 ethernet-phy@0 {
+2
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
··· 139 139 macb0: ethernet@f8008000 { 140 140 pinctrl-names = "default"; 141 141 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>; 142 + #address-cells = <1>; 143 + #size-cells = <0>; 142 144 phy-mode = "rmii"; 143 145 status = "okay"; 144 146
+2
arch/arm/boot/dts/at91-sama5d2_xplained.dts
··· 147 147 macb0: ethernet@f8008000 { 148 148 pinctrl-names = "default"; 149 149 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>; 150 + #address-cells = <1>; 151 + #size-cells = <0>; 150 152 phy-mode = "rmii"; 151 153 status = "okay"; 152 154
+1 -1
arch/arm/boot/dts/at91sam9260.dtsi
··· 123 123 clock-names = "slow_xtal", "main_xtal"; 124 124 }; 125 125 126 - rstc@fffffd00 { 126 + reset-controller@fffffd00 { 127 127 compatible = "atmel,at91sam9260-rstc"; 128 128 reg = <0xfffffd00 0x10>; 129 129 clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
+1 -1
arch/arm/boot/dts/at91sam9261.dtsi
··· 603 603 clock-names = "slow_xtal", "main_xtal"; 604 604 }; 605 605 606 - rstc@fffffd00 { 606 + reset-controller@fffffd00 { 607 607 compatible = "atmel,at91sam9260-rstc"; 608 608 reg = <0xfffffd00 0x10>; 609 609 clocks = <&slow_xtal>;
+1 -1
arch/arm/boot/dts/at91sam9263.dtsi
··· 151 151 clock-names = "t0_clk", "slow_clk"; 152 152 }; 153 153 154 - rstc@fffffd00 { 154 + reset-controller@fffffd00 { 155 155 compatible = "atmel,at91sam9260-rstc"; 156 156 reg = <0xfffffd00 0x10>; 157 157 clocks = <&slow_xtal>;
+1 -1
arch/arm/boot/dts/at91sam9g45.dtsi
··· 137 137 clock-names = "slow_clk", "main_xtal"; 138 138 }; 139 139 140 - rstc@fffffd00 { 140 + reset-controller@fffffd00 { 141 141 compatible = "atmel,at91sam9g45-rstc"; 142 142 reg = <0xfffffd00 0x10>; 143 143 clocks = <&clk32k>;
+1 -1
arch/arm/boot/dts/at91sam9n12.dtsi
··· 126 126 interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; 127 127 }; 128 128 129 - rstc@fffffe00 { 129 + reset-controller@fffffe00 { 130 130 compatible = "atmel,at91sam9g45-rstc"; 131 131 reg = <0xfffffe00 0x10>; 132 132 clocks = <&clk32k>;
+1 -1
arch/arm/boot/dts/at91sam9rl.dtsi
··· 766 766 clock-names = "slow_clk", "main_xtal"; 767 767 }; 768 768 769 - rstc@fffffd00 { 769 + reset-controller@fffffd00 { 770 770 compatible = "atmel,at91sam9260-rstc"; 771 771 reg = <0xfffffd00 0x10>; 772 772 clocks = <&clk32k>;
+1 -1
arch/arm/boot/dts/at91sam9x5.dtsi
··· 134 134 clock-names = "slow_clk", "main_xtal"; 135 135 }; 136 136 137 - reset_controller: rstc@fffffe00 { 137 + reset_controller: reset-controller@fffffe00 { 138 138 compatible = "atmel,at91sam9g45-rstc"; 139 139 reg = <0xfffffe00 0x10>; 140 140 clocks = <&clk32k>;
+4 -14
arch/arm/boot/dts/lan966x-pcb8291.dts
··· 19 19 }; 20 20 21 21 &gpio { 22 - fc_shrd7_pins: fc_shrd7-pins { 23 - pins = "GPIO_49"; 24 - function = "fc_shrd7"; 25 - }; 26 - 27 - fc_shrd8_pins: fc_shrd8-pins { 28 - pins = "GPIO_54"; 29 - function = "fc_shrd8"; 30 - }; 31 - 32 - fc3_b_pins: fcb3-spi-pins { 33 - /* SCK, RXD, TXD */ 34 - pins = "GPIO_51", "GPIO_52", "GPIO_53"; 22 + fc3_b_pins: fc3-b-pins { 23 + /* RX, TX */ 24 + pins = "GPIO_52", "GPIO_53"; 35 25 function = "fc3_b"; 36 26 }; 37 27 ··· 43 53 status = "okay"; 44 54 45 55 usart3: serial@200 { 46 - pinctrl-0 = <&fc3_b_pins>, <&fc_shrd7_pins>, <&fc_shrd8_pins>; 56 + pinctrl-0 = <&fc3_b_pins>; 47 57 pinctrl-names = "default"; 48 58 status = "okay"; 49 59 };
+26
arch/arm/boot/dts/lan966x.dtsi
··· 84 84 #size-cells = <1>; 85 85 ranges; 86 86 87 + udc: usb@200000 { 88 + compatible = "microchip,lan9662-udc", 89 + "atmel,sama5d3-udc"; 90 + reg = <0x00200000 0x80000>, 91 + <0xe0808000 0x400>; 92 + interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 93 + clocks = <&clks GCK_GATE_UDPHS>, <&nic_clk>; 94 + clock-names = "pclk", "hclk"; 95 + status = "disabled"; 96 + }; 97 + 87 98 switch: switch@e0000000 { 88 99 compatible = "microchip,lan966x-switch"; 89 100 reg = <0xe0000000 0x0100000>, ··· 481 470 assigned-clocks = <&clks GCK_ID_MCAN0>; 482 471 assigned-clock-rates = <40000000>; 483 472 bosch,mram-cfg = <0x0 0 0 64 0 0 32 32>; 473 + status = "disabled"; 474 + }; 475 + 476 + can1: can@e0820000 { 477 + compatible = "bosch,m_can"; 478 + reg = <0xe0820000 0xfc>, <0x00100000 0x8000>; 479 + reg-names = "m_can", "message_ram"; 480 + interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, 481 + <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 482 + interrupt-names = "int0", "int1"; 483 + clocks = <&clks GCK_ID_MCAN1>, <&clks GCK_ID_MCAN1>; 484 + clock-names = "hclk", "cclk"; 485 + assigned-clocks = <&clks GCK_ID_MCAN1>; 486 + assigned-clock-rates = <40000000>; 487 + bosch,mram-cfg = <0x4000 0 0 64 0 0 32 32>; 484 488 status = "disabled"; 485 489 }; 486 490
+1 -1
arch/arm/boot/dts/sam9x60.dtsi
··· 667 667 clock-names = "td_slck", "md_slck", "main_xtal"; 668 668 }; 669 669 670 - reset_controller: rstc@fffffe00 { 670 + reset_controller: reset-controller@fffffe00 { 671 671 compatible = "microchip,sam9x60-rstc"; 672 672 reg = <0xfffffe00 0x10>; 673 673 clocks = <&clk32k 0>;
+11 -13
arch/arm/boot/dts/sama5d2.dtsi
··· 99 99 ranges = <0 0x00200000 0x20000>; 100 100 }; 101 101 102 + resistive_touch: resistive-touch { 103 + compatible = "resistive-adc-touch"; 104 + io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>, 105 + <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>, 106 + <&adc AT91_SAMA5D2_ADC_P_CHANNEL>; 107 + io-channel-names = "x", "y", "pressure"; 108 + touchscreen-min-pressure = <50000>; 109 + status = "disabled"; 110 + }; 111 + 102 112 ahb { 103 113 compatible = "simple-bus"; 104 114 #address-cells = <1>; ··· 384 374 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 0 */ 385 375 66 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 1 */ 386 376 67 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 2 */ 387 - #address-cells = <1>; 388 - #size-cells = <0>; 389 377 clocks = <&pmc PMC_TYPE_PERIPHERAL 5>, <&pmc PMC_TYPE_PERIPHERAL 5>; 390 378 clock-names = "hclk", "pclk"; 391 379 status = "disabled"; ··· 668 660 ranges = <0 0xf8044000 0x1420>; 669 661 }; 670 662 671 - reset_controller: rstc@f8048000 { 663 + reset_controller: reset-controller@f8048000 { 672 664 compatible = "atmel,sama5d3-rstc"; 673 665 reg = <0xf8048000 0x10>; 674 666 clocks = <&clk32k>; ··· 1055 1047 atmel,startup-time-ms = <4>; 1056 1048 atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>; 1057 1049 #io-channel-cells = <1>; 1058 - status = "disabled"; 1059 - }; 1060 - 1061 - resistive_touch: resistive-touch { 1062 - compatible = "resistive-adc-touch"; 1063 - io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>, 1064 - <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>, 1065 - <&adc AT91_SAMA5D2_ADC_P_CHANNEL>; 1066 - io-channel-names = "x", "y", "pressure"; 1067 - touchscreen-min-pressure = <50000>; 1068 1050 status = "disabled"; 1069 1051 }; 1070 1052
+1 -1
arch/arm/boot/dts/sama5d3.dtsi
··· 1003 1003 clock-names = "slow_clk", "main_xtal"; 1004 1004 }; 1005 1005 1006 - reset_controller: rstc@fffffe00 { 1006 + reset_controller: reset-controller@fffffe00 { 1007 1007 compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc"; 1008 1008 reg = <0xfffffe00 0x10>; 1009 1009 clocks = <&clk32k>;
+1 -1
arch/arm/boot/dts/sama5d4.dtsi
··· 726 726 }; 727 727 }; 728 728 729 - reset_controller: rstc@fc068600 { 729 + reset_controller: reset-controller@fc068600 { 730 730 compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc"; 731 731 reg = <0xfc068600 0x10>; 732 732 clocks = <&clk32k>;
+7
arch/arm/boot/dts/sama7g5.dtsi
··· 198 198 clock-names = "td_slck", "md_slck", "main_xtal"; 199 199 }; 200 200 201 + reset_controller: reset-controller@e001d000 { 202 + compatible = "microchip,sama7g5-rstc"; 203 + reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>; 204 + #reset-cells = <1>; 205 + clocks = <&clk32k 0>; 206 + }; 207 + 201 208 shdwc: shdwc@e001d010 { 202 209 compatible = "microchip,sama7g5-shdwc", "syscon"; 203 210 reg = <0xe001d010 0x10>;