Microchip AT91 device tree updates for v6.15

This update includes:
 - more controllers enabled for SAMA7D65 SoC (DMA, reset controller,
   shutdown controller, RTC, watchdog)
 - power monitor device enabled for SAMA7D65 Curiosity board
 - device tree cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZ9HEvgAKCRCejrg/N2X7
 /ffGAQDtFnvX/D5YyyTAL5uv1qoB94jAasdGdkhfu/MbapVORgD7Bd2POe5m8Rr5
 +aR1ElCHPXBwde1eqcO5QR6mUGEGAQA=
 =t2Xg
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLHwACgkQYKtH/8kJ
 UifyTxAA3CBlzXzTSXMfy28cYatr7jK0ZGHDeu8EyhP2wnLC97eShZoKTmyw2w/7
 ejKw0bKO5t5tqTbcDljDd0iTOnj5QKe3sJniwE5gTKmcfkogBRRfItOnIQAjYOEY
 4vBvPV92xnqmCuR/6oEoNQb3vLEttu9QTrrR21ch4afo6pjwEm7noOpSEwp93KQd
 nIeZ7GJxFNSqpm9UPfuFR39S5YVKHxsnCFsNQZVNCKoXsDlplDIZORJRCrvtCmJs
 prnz9rr9s82f91Sx7v/LKSAYdPM1chz8cnmWf8/80WWFbBytMZIsBSCLpO2zd89h
 iRN8Kh4miUKUATnKdVG/gijBqpl8RqO54FBsrO82/4DmuupVO9yM0uYdPeCs2BDf
 iPaD/+sMN3/yhEIe+hHrGrcNk7Na9zZWIoWTdh59W4+SQg4ldTvSjhfSps6tNSGy
 FgUA8NSKPTAlL/JBLHtzIm3BKji3csGFM6mUgWXcaPYNTwgEzEqD5o8tK4MeGfVp
 g7+/mM+O0FsdqHzAxS41t/PPPx/hgwcwir8DB7Tq3NZQTy6lCB5QURohz+nfKw1O
 P3JuYK5tVJOJfQdZAVuDm7MtsDA2Ok8fgG6ozedIbT8uDPrF/tvjuyQFw55noWVZ
 3LxcI17GP7SHNMg4Cj84YoT2AKhGAsgG43AYPkRNm1n/fELNAXg=
 =77xl
 -----END PGP SIGNATURE-----

Merge tag 'at91-dt-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.15

This update includes:
- more controllers enabled for SAMA7D65 SoC (DMA, reset controller,
  shutdown controller, RTC, watchdog)
- power monitor device enabled for SAMA7D65 Curiosity board
- device tree cleanups

* tag 'at91-dt-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: sama7g5: add ADC hw trigger edge type
  ARM: dts: microchip: sama7d65: Add watchdog for sama7d65
  ARM: dts: microchip: sama7d65: Enable shutdown controller
  ARM: dts: microchip: sama7d65: Add SFRBU support to sama7d65
  ARM: dts: microchip: sama7d65: Add RTC support for sama7d65
  ARM: dts: microchip: sama7d65: Add Shutdown controller support
  ARM: dts: microchip: sama7d65: Add Reset Controller to sama7d65 SoC
  ARM: dts: microchip: fix faulty ohci/ehci node names
  ARM: dts: microchip: usb_a9263: fix wrong vendor
  ARM: dts: microchip: sama7d65: Enable DMAs
  ARM: dts: microchip: sama7d65: Add DMAs to sama7d65 SoC
  ARM: dts: microchip: sama7d65: Add chipID for sama7d65
  ARM: dts: microchip: sama7d65_curiosity: Add power monitor support
  ARM: dts: microchip: sama7d65: Add flexcom 10 node
  ARM: dts: at91: usb_a9g20_lpw: use proper mmc node name
  ARM: dts: at91: calao_usb: fix button nodes
  ARM: dts: at91: use correct vendor name for Calao boards
  ARM: dts: at91: calao_usb: remove heartbeat for User LEDs
  ARM: dts: at91: calao_usb: fix wrong polarity for LED

Link: https://lore.kernel.org/r/20250312173755.975074-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2025-03-19 21:43:35 +01:00
commit 3ef47a0436
50 changed files with 243 additions and 82 deletions

View File

@ -56,7 +56,7 @@ usb1: gadget@fffa4000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -136,7 +136,7 @@ ubi@60000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@ -131,7 +131,7 @@ watchdog@fffffd40 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -114,7 +114,7 @@ shdwc: poweroff@fffffd10 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -105,7 +105,7 @@ nand0: nand@40000000 {
status = "okay";
};
usb0: ohci@500000 {
usb0: usb@500000 {
status = "okay";
};

View File

@ -37,7 +37,7 @@ usb0: gadget@300000 {
status = "okay";
};
usb1: ohci@400000 {
usb1: usb@400000 {
num-ports = <3>;
atmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */
&pioA PIN_PA27 GPIO_ACTIVE_HIGH
@ -48,7 +48,7 @@ &pioA PIN_PA27 GPIO_ACTIVE_HIGH
status = "okay";
};
usb2: ehci@500000 {
usb2: usb@500000 {
status = "okay";
};

View File

@ -47,7 +47,7 @@ usb0: gadget@300000 {
status = "okay";
};
usb1: ohci@400000 {
usb1: usb@400000 {
num-ports = <3>;
atmel,vbus-gpio = <0
&pioA PIN_PB12 GPIO_ACTIVE_HIGH
@ -58,7 +58,7 @@ &pioA PIN_PB12 GPIO_ACTIVE_HIGH
status = "okay";
};
usb2: ehci@500000 {
usb2: usb@500000 {
status = "okay";
};

View File

@ -46,7 +46,7 @@ usb0: gadget@300000 {
status = "okay";
};
usb1: ohci@400000 {
usb1: usb@400000 {
num-ports = <3>;
atmel,vbus-gpio = <0 /* &pioA PIN_PB9 GPIO_ACTIVE_HIGH */
&pioA PIN_PB10 GPIO_ACTIVE_HIGH
@ -57,7 +57,7 @@ &pioA PIN_PB10 GPIO_ACTIVE_HIGH
status = "okay";
};
usb2: ehci@500000 {
usb2: usb@500000 {
status = "okay";
};

View File

@ -283,7 +283,7 @@ usb0: gadget@500000 {
status = "okay";
};
usb1: ohci@600000 {
usb1: usb@600000 {
num-ports = <3>;
atmel,vbus-gpio = <0
&pioE 3 GPIO_ACTIVE_LOW
@ -294,7 +294,7 @@ &pioE 4 GPIO_ACTIVE_LOW
status = "okay";
};
usb2: ehci@700000 {
usb2: usb@700000 {
status = "okay";
};

View File

@ -22,7 +22,7 @@ usb0: gadget@400000 {
status = "okay";
};
usb1: ohci@500000 {
usb1: usb@500000 {
num-ports = <3>;
atmel,vbus-gpio = <0
&pioE 11 GPIO_ACTIVE_LOW
@ -31,7 +31,7 @@ &pioE 14 GPIO_ACTIVE_LOW
status = "okay";
};
usb2: ehci@600000 {
usb2: usb@600000 {
status = "okay";
};

View File

@ -164,7 +164,7 @@ usb0: gadget@400000 {
status = "okay";
};
usb1: ohci@500000 {
usb1: usb@500000 {
num-ports = <3>;
atmel,vbus-gpio = <0
&pioE 11 GPIO_ACTIVE_HIGH
@ -175,7 +175,7 @@ &pioE 14 GPIO_ACTIVE_HIGH
status = "okay";
};
usb2: ehci@600000 {
usb2: usb@600000 {
status = "okay";
};

View File

@ -198,7 +198,7 @@ usb0: gadget@400000 {
status = "okay";
};
usb1: ohci@500000 {
usb1: usb@500000 {
num-ports = <3>;
atmel,vbus-gpio = <0 /* &pioE 10 GPIO_ACTIVE_LOW */
&pioE 11 GPIO_ACTIVE_LOW
@ -207,7 +207,7 @@ &pioE 12 GPIO_ACTIVE_LOW
status = "okay";
};
usb2: ehci@600000 {
usb2: usb@600000 {
status = "okay";
};

View File

@ -32,6 +32,18 @@ memory@60000000 {
};
};
&dma0 {
status = "okay";
};
&dma1 {
status = "okay";
};
&dma2 {
status = "okay";
};
&flx6 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
status = "okay";
@ -43,11 +55,63 @@ &uart6 {
status = "okay";
};
&flx10 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
status = "okay";
};
&i2c10 {
dmas = <0>, <0>;
i2c-analog-filter;
i2c-digital-filter;
i2c-digital-filter-width-ns = <35>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c10_default>;
status = "okay";
power-monitor@10 {
compatible = "microchip,pac1934";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;
channel@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <47000>;
label = "VDD3V3";
};
channel@2 {
reg = <0x2>;
shunt-resistor-micro-ohms = <47000>;
label = "VDDIODDR";
};
channel@3 {
reg = <0x3>;
shunt-resistor-micro-ohms = <47000>;
label = "VDDCORE";
};
channel@4 {
reg = <0x4>;
shunt-resistor-micro-ohms = <47000>;
label = "VDDCPU";
};
};
};
&main_xtal {
clock-frequency = <24000000>;
};
&pioa {
pinctrl_i2c10_default: i2c10-default{
pinmux = <PIN_PB19__FLEXCOM10_IO1>,
<PIN_PB20__FLEXCOM10_IO0>;
bias-pull-up;
};
pinctrl_sdmmc1_default: sdmmc1-default {
cmd-data {
pinmux = <PIN_PB22__SDMMC1_CMD>,
@ -84,6 +148,15 @@ &sdmmc1 {
status = "okay";
};
&shdwc {
debounce-delay-us = <976>;
status = "okay";
input@0 {
reg = <0>;
};
};
&slow_xtal {
clock-frequency = <32768>;
};

View File

@ -137,6 +137,7 @@ &adc {
vref-supply = <&vddout25>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>;
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
status = "okay";
};

View File

@ -162,7 +162,7 @@ usb0: gadget@400000 {
status = "disabled";
};
usb1: ohci@500000 {
usb1: usb@500000 {
num-ports = <3>;
atmel,vbus-gpio = <0
&pioE 11 GPIO_ACTIVE_LOW
@ -171,7 +171,7 @@ &pioE 12 GPIO_ACTIVE_LOW
status = "disabled";
};
usb2: ehci@600000 {
usb2: usb@600000 {
/* 4G Modem */
status = "okay";
};

View File

@ -702,7 +702,7 @@ &pioB 1 GPIO_ACTIVE_HIGH
status = "disabled";
};
usb0: ohci@300000 {
usb0: usb@300000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00300000 0x100000>;
interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -89,7 +89,7 @@ rtc: rtc@fffffe00 {
};
};
usb0: ohci@300000 {
usb0: usb@300000 {
num-ports = <2>;
status = "okay";
};

View File

@ -742,7 +742,7 @@ gpbr: syscon@fffffd50 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x100000>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -131,7 +131,7 @@ gpbr: syscon@fffffd50 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -77,7 +77,7 @@ ahb {
#size-cells = <1>;
ranges;
usb0: ohci@500000 {
usb0: usb@500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x100000>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -31,7 +31,7 @@ main_xtal {
};
ahb {
usb0: ohci@500000 {
usb0: usb@500000 {
status = "okay";
};

View File

@ -768,7 +768,7 @@ fb0: fb@700000 {
status = "disabled";
};
usb0: ohci@a00000 {
usb0: usb@a00000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00a00000 0x100000>;
interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -207,7 +207,7 @@ data@7ca0000 {
};
};
usb0: ohci@a00000 {
usb0: usb@a00000 {
num-ports = <2>;
status = "okay";
atmel,vbus-gpio = <&pioA 24 GPIO_ACTIVE_HIGH

View File

@ -211,7 +211,7 @@ data@7ca0000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -964,7 +964,7 @@ fb0: fb@500000 {
status = "disabled";
};
usb0: ohci@700000 {
usb0: usb@700000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00700000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@ -973,7 +973,7 @@ usb0: ohci@700000 {
status = "disabled";
};
usb1: ehci@800000 {
usb1: usb@800000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00800000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -303,14 +303,14 @@ data@4000000 {
};
};
usb0: ohci@700000 {
usb0: usb@700000 {
status = "okay";
num-ports = <2>;
atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
&pioD 3 GPIO_ACTIVE_LOW>;
};
usb1: ehci@800000 {
usb1: usb@800000 {
status = "okay";
};
};

View File

@ -748,7 +748,7 @@ usb1: gadget@f803c000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x00100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -180,7 +180,7 @@ nand@3 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <1>;
atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
status = "okay";

View File

@ -886,7 +886,7 @@ pwm0: pwm@f8034000 {
};
};
usb0: ohci@600000 {
usb0: usb@600000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00600000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@ -895,7 +895,7 @@ usb0: ohci@600000 {
status = "disabled";
};
usb1: ehci@700000 {
usb1: usb@700000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00700000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -101,7 +101,7 @@ data@20000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -45,7 +45,7 @@ watchdog@fffffd40 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};

View File

@ -57,7 +57,7 @@ ssc1: ssc@fffd4000 {
};
};
usb0: ohci@300000 {
usb0: usb@300000 {
num-ports = <1>;
status = "okay";
};

View File

@ -139,12 +139,12 @@ data@900000 {
};
};
usb0: ohci@700000 {
usb0: usb@700000 {
status = "okay";
num-ports = <2>;
};
usb1: ehci@800000 {
usb1: usb@800000 {
status = "okay";
};
};

View File

@ -88,7 +88,7 @@ usb0: gadget@500000 {
status = "disabled";
};
usb1: ohci@600000 {
usb1: usb@600000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00600000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@ -97,7 +97,7 @@ usb1: ohci@600000 {
status = "disabled";
};
usb2: ehci@700000 {
usb2: usb@700000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00700000 0x100000>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -136,7 +136,7 @@ usb0: gadget@300000 {
status = "disabled";
};
usb1: ohci@400000 {
usb1: usb@400000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00400000 0x100000>;
interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
@ -145,7 +145,7 @@ usb1: ohci@400000 {
status = "disabled";
};
usb2: ehci@500000 {
usb2: usb@500000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00500000 0x100000>;
interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -1074,7 +1074,7 @@ usb0: gadget@500000 {
status = "disabled";
};
usb1: ohci@600000 {
usb1: usb@600000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00600000 0x100000>;
interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
@ -1083,7 +1083,7 @@ usb1: ohci@600000 {
status = "disabled";
};
usb2: ehci@700000 {
usb2: usb@700000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00700000 0x100000>;
interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -172,7 +172,7 @@ usb0: gadget@500000 {
status = "okay";
};
usb1: ohci@600000 {
usb1: usb@600000 {
num-ports = <3>;
atmel,vbus-gpio = <&pioD 25 GPIO_ACTIVE_HIGH
&pioD 26 GPIO_ACTIVE_LOW
@ -181,7 +181,7 @@ &pioD 27 GPIO_ACTIVE_LOW
status = "okay";
};
usb2: ehci@700000 {
usb2: usb@700000 {
status = "okay";
};
};

View File

@ -119,7 +119,7 @@ usb0: gadget@400000 {
status = "disabled";
};
usb1: ohci@500000 {
usb1: usb@500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x100000>;
interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
@ -128,7 +128,7 @@ usb1: ohci@500000 {
status = "disabled";
};
usb2: ehci@600000 {
usb2: usb@600000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00600000 0x100000>;
interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;

View File

@ -9,6 +9,7 @@
*/
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
@ -52,6 +53,11 @@ soc {
#address-cells = <1>;
#size-cells = <1>;
sfrbu: sfr@e0008000 {
compatible ="microchip,sama7d65-sfrbu", "atmel,sama5d2-sfrbu", "syscon";
reg = <0xe0008000 0x20>;
};
pioa: pinctrl@e0014000 {
compatible = "microchip,sama7d65-pinctrl", "microchip,sama7g5-pinctrl";
reg = <0xe0014000 0x800>;
@ -76,6 +82,31 @@ pmc: clock-controller@e0018000 {
clock-names = "td_slck", "md_slck", "main_xtal";
};
ps_wdt: watchdog@e001d000 {
compatible = "microchip,sama7d65-wdt", "microchip,sama7g5-wdt";
reg = <0xe001d000 0x30>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk32k 0>;
};
reset_controller: reset-controller@e001d100 {
compatible = "microchip,sama7d65-rstc", "microchip,sama7g5-rstc";
reg = <0xe001d100 0xc>, <0xe001d1e4 0x4>;
#reset-cells = <1>;
clocks = <&clk32k 0>;
};
shdwc: poweroff@e001d200 {
compatible = "microchip,sama7d65-shdwc", "microchip,sama7g5-shdwc", "syscon";
reg = <0xe001d200 0x20>;
clocks = <&clk32k 0>;
#address-cells = <1>;
#size-cells = <0>;
atmel,wakeup-rtc-timer;
atmel,wakeup-rtt-timer;
status = "disabled";
};
clk32k: clock-controller@e001d500 {
compatible = "microchip,sama7d65-sckc", "microchip,sam9x60-sckc";
reg = <0xe001d500 0x4>;
@ -83,6 +114,29 @@ clk32k: clock-controller@e001d500 {
#clock-cells = <1>;
};
rtc: rtc@e001d800 {
compatible = "microchip,sama7d65-rtc", "microchip,sam9x60-rtc";
reg = <0xe001d800 0x30>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk32k 1>;
};
chipid@e0020000 {
compatible = "microchip,sama7d65-chipid";
reg = <0xe0020000 0x8>;
};
dma2: dma-controller@e1200000 {
compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
reg = <0xe1200000 0x1000>;
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
clock-names = "dma_clk";
dma-requests = <0>;
status = "disabled";
};
sdmmc1: mmc@e1208000 {
compatible = "microchip,sama7d65-sdhci", "microchip,sam9x60-sdhci";
reg = <0xe1208000 0x400>;
@ -95,6 +149,26 @@ sdmmc1: mmc@e1208000 {
status = "disabled";
};
dma0: dma-controller@e1610000 {
compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
reg = <0xe1610000 0x1000>;
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
clock-names = "dma_clk";
status = "disabled";
};
dma1: dma-controller@e1614000 {
compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
reg = <0xe1614000 0x1000>;
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
clock-names = "dma_clk";
status = "disabled";
};
pit64b0: timer@e1800000 {
compatible = "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b";
reg = <0xe1800000 0x100>;
@ -132,6 +206,27 @@ uart6: serial@200 {
};
};
flx10: flexcom@e2824000 {
compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom";
reg = <0xe2824000 0x200>;
ranges = <0x0 0xe2824000 0x800>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
#address-cells = <1>;
#size-cells = <1>;
status = "disabled";
i2c10: i2c@600 {
compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
reg = <0x600 0x200>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
#address-cells = <1>;
#size-cells = <0>;
atmel,fifo-size = <32>;
status = "disabled";
};
};
gic: interrupt-controller@e8c11000 {
compatible = "arm,cortex-a7-gic";
reg = <0xe8c11000 0x1000>,

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* tny_a9260.dts - Device Tree file for Caloa TNY A9260 board
* tny_a9260.dts - Device Tree file for Calao TNY A9260 board
*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
* tny_a9260_common.dtsi - Device Tree file for Calao TNY A926x board
*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* usb_a9263.dts - Device Tree file for Caloa USB A9293 board
* usb_a9263.dts - Device Tree file for Calao USB A9293 board
*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* tny_a9g20.dts - Device Tree file for Caloa TNY A9G20 board
* tny_a9g20.dts - Device Tree file for Calao TNY A9G20 board
*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* usb_a9260.dts - Device Tree file for Caloa USB A9260 board
* usb_a9260.dts - Device Tree file for Calao USB A9260 board
*
* Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* usb_a926x.dts - Device Tree file for Caloa USB A926x board
* usb_a926x.dts - Device Tree file for Calao USB A926x board
*
* Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/
@ -111,7 +111,7 @@ data@7ca0000 {
};
};
usb0: ohci@500000 {
usb0: usb@500000 {
num-ports = <2>;
status = "okay";
};
@ -122,17 +122,14 @@ leds {
user_led {
label = "user_led";
gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
};
};
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
user_pb {
button-user-pb {
label = "user_pb";
gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
linux,code = <28>;

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* usb_a9263.dts - Device Tree file for Caloa USB A9293 board
* usb_a9263.dts - Device Tree file for Calao USB A9293 board
*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/
@ -9,7 +9,7 @@
/ {
model = "Calao USB A9263";
compatible = "atmel,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
compatible = "calao,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
chosen {
bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
@ -139,7 +139,7 @@ data@7ca0000 {
};
};
usb0: ohci@a00000 {
usb0: usb@a00000 {
num-ports = <2>;
status = "okay";
};
@ -151,16 +151,13 @@ leds {
user_led {
label = "user_led";
gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
};
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
user_pb {
button-user-pb {
label = "user_pb";
gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
linux,code = <28>;

View File

@ -65,28 +65,26 @@ green {
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
user_pb1 {
button-user-pb1 {
label = "user_pb1";
gpios = <&pioB 25 GPIO_ACTIVE_LOW>;
linux,code = <0x100>;
};
user_pb2 {
button-user-pb2 {
label = "user_pb2";
gpios = <&pioB 13 GPIO_ACTIVE_LOW>;
linux,code = <0x101>;
};
user_pb3 {
button-user-pb3 {
label = "user_pb3";
gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
linux,code = <0x102>;
};
user_pb4 {
button-user-pb4 {
label = "user_pb4";
gpios = <&pioC 9 GPIO_ACTIVE_LOW>;
linux,code = <0x103>;

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
* usb_a9g20.dts - Device Tree file for Calao USB A9G20 board
*
* Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
* usb_a9g20.dts - Device Tree file for Calao USB A9G20 board
*
* Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* usb_a9g20_lpw.dts - Device Tree file for Caloa USB A9G20 Low Power board
* usb_a9g20_lpw.dts - Device Tree file for Calao USB A9G20 Low Power board
*
* Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
*/
@ -16,7 +16,7 @@ apb {
spi1: spi@fffcc000 {
cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;
status = "okay";
mmc-slot@0 {
mmc@0 {
compatible = "mmc-spi-slot";
reg = <0>;
voltage-ranges = <3200 3400>;