mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
b3a8704446
- sama5d2 xplained: add charger and SD card power supply - sama5d27_som1_ek: many adjustments - at91sam9x25ek: add pwm0 and can1 -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXx9Viay1+e7J/aM4AyWl4gNJNJIFAlns8kkACgkQAyWl4gNJ NJLOxw/+IfeC4DtZMVNI9TEVqx3gKfBJ09YaZa0/X+CoWOf5NbzrMbzBTMN1KWSn 5bmw1rErdtUkX/dU1DyScs9X2Xm5T88Bwof47y8LIZeUu/UaQTOsvN1Mo3KA3fgq I72HKjJynBKzl4xij8nZdk9kO4EWO+5TJ4maLsfr0+XP1z1lWp1tejTM6KjcIuTZ JH7mG22i+YjQNiPTC5IbVIyPfd1UvCoJPDbUwShZ+L0NSTzbQwtEFFIj+O/lUQ/s rSm7cBTRNQIhPVN3bNV8gdeX4eQbP6KphWOxeBYYhcxJ3fNuIvIwSI+RY3w38gb7 CnHXHJS39PqPT6QEqgNkr7BH9u1a5zb7WkcVkanamAE/iVjGhXqBTWJ/nLxN/flT 1sz2p3fqb3RH3HRWY06yqjkPhg6VT4y7hYFGXLHcwjOqY9ITJwD+uN9Kx9EL6GOl hAz9qge86rYIGctkWg/EHDlEpeZiclKYymckWMFpmA19BBwiWyT2hIrNpYwFZjSG tZtsyscBIym0ZPFV99K23hO7b8sI8zdkqmXFtAGx9Wq2Z9nZLp5wraDSVr8ESgeV pjjVajp5ueV7cYaVfDhHrAiIL022dUHQW6DuU19olTKXClEyh1pXeflpjDiW9tMy zvNShCqmMmMc6plsRaFu1O8hNd1dd0GWesVYmmyfToyihuIyM9o= =Z/f3 -----END PGP SIGNATURE----- Merge tag 'at91-ab-4.15-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/dt Pull" ARM: at91: DT for 4.15" from Alexandre Belloni: - sama5d2 xplained: add charger and SD card power supply - sama5d27_som1_ek: many adjustments - at91sam9x25ek: add pwm0 and can1 * tag 'at91-ab-4.15-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: ARM: dts: at91: at91sam9x5ek: use DMA for USART0 ARM: dts: at91: at91sam9x25ek: add pwm0 ARM: dts: at91: at91sam9x25ek: add CAN1 interface ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0 ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0 ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0 ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source ARM: dts: at91: sama5d27_som1_ek: update serial aliases ARM: dts: at91: sama5d27_som1_ek: enable i2c2 ARM: dts: at91: sama5d27_som1_ek: add disabled status ARM: dts: at91: usb_a9g20: fix rtc node ARM: dts: at91: sama5d2 Xplained: Describe the SD card power supply ARM: dts: at91: sama5d2_xplained: Add charger node
168 lines
3.5 KiB
Plaintext
168 lines
3.5 KiB
Plaintext
/*
|
|
* at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
|
|
*
|
|
* Copyright (C) 2012 Atmel,
|
|
* 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
#include "at91sam9x5cm.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9X5-EK";
|
|
compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
chosen {
|
|
bootargs = "root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
ahb {
|
|
apb {
|
|
mmc0: mmc@f0008000 {
|
|
pinctrl-0 = <
|
|
&pinctrl_board_mmc0
|
|
&pinctrl_mmc0_slot0_clk_cmd_dat0
|
|
&pinctrl_mmc0_slot0_dat1_3>;
|
|
status = "okay";
|
|
slot@0 {
|
|
reg = <0>;
|
|
bus-width = <4>;
|
|
cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
mmc1: mmc@f000c000 {
|
|
pinctrl-0 = <
|
|
&pinctrl_board_mmc1
|
|
&pinctrl_mmc1_slot0_clk_cmd_dat0
|
|
&pinctrl_mmc1_slot0_dat1_3>;
|
|
status = "okay";
|
|
slot@0 {
|
|
reg = <0>;
|
|
bus-width = <4>;
|
|
cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
dbgu: serial@fffff200 {
|
|
status = "okay";
|
|
};
|
|
|
|
usart0: serial@f801c000 {
|
|
atmel,use-dma-rx;
|
|
atmel,use-dma-tx;
|
|
status = "okay";
|
|
};
|
|
|
|
usb2: gadget@f803c000 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_board_usb2>;
|
|
atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
|
|
i2c0: i2c@f8010000 {
|
|
status = "okay";
|
|
|
|
wm8731: wm8731@1a {
|
|
compatible = "wm8731";
|
|
reg = <0x1a>;
|
|
};
|
|
};
|
|
|
|
adc0: adc@f804c000 {
|
|
atmel,adc-ts-wires = <4>;
|
|
atmel,adc-ts-pressure-threshold = <10000>;
|
|
status = "okay";
|
|
};
|
|
|
|
pinctrl@fffff400 {
|
|
camera_sensor {
|
|
pinctrl_pck0_as_isi_mck: pck0_as_isi_mck-0 {
|
|
atmel,pins =
|
|
<AT91_PIOC 15 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_MCK */
|
|
};
|
|
|
|
pinctrl_sensor_power: sensor_power-0 {
|
|
atmel,pins =
|
|
<AT91_PIOA 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
|
|
};
|
|
|
|
pinctrl_sensor_reset: sensor_reset-0 {
|
|
atmel,pins =
|
|
<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
|
|
};
|
|
};
|
|
|
|
mmc0 {
|
|
pinctrl_board_mmc0: mmc0-board {
|
|
atmel,pins =
|
|
<AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */
|
|
};
|
|
};
|
|
|
|
mmc1 {
|
|
pinctrl_board_mmc1: mmc1-board {
|
|
atmel,pins =
|
|
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD14 gpio CD pin pull up and deglitch */
|
|
};
|
|
};
|
|
|
|
usb2 {
|
|
pinctrl_board_usb2: usb2-board {
|
|
atmel,pins =
|
|
<AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio vbus sense, deglitch */
|
|
};
|
|
};
|
|
};
|
|
|
|
spi0: spi@f0000000 {
|
|
status = "disabled"; /* conflicts with mmc1 */
|
|
cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
|
|
m25p80@0 {
|
|
compatible = "atmel,at25df321a";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
watchdog@fffffe40 {
|
|
status = "okay";
|
|
};
|
|
|
|
ssc0: ssc@f0010000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
usb0: ohci@600000 {
|
|
status = "okay";
|
|
num-ports = <3>;
|
|
atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */
|
|
&pioD 19 GPIO_ACTIVE_LOW
|
|
&pioD 20 GPIO_ACTIVE_LOW
|
|
>;
|
|
};
|
|
|
|
usb1: ehci@700000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
sound {
|
|
compatible = "atmel,sam9x5-wm8731-audio";
|
|
|
|
atmel,model = "wm8731 @ AT91SAM9X5EK";
|
|
|
|
atmel,audio-routing =
|
|
"Headphone Jack", "RHPOUT",
|
|
"Headphone Jack", "LHPOUT",
|
|
"LLINEIN", "Line In Jack",
|
|
"RLINEIN", "Line In Jack";
|
|
|
|
atmel,ssc-controller = <&ssc0>;
|
|
atmel,audio-codec = <&wm8731>;
|
|
};
|
|
};
|