forked from Minki/linux
dccfd1e439
Device tree and bindings updates for 3.12. General additions of various on-chip and on-board peripherals on various platforms as support gets added. Some of the bigger changes are: - Addition of (new) PCI-e support on Tegra. - More Tegra4 support, including PMC configuration for Dalmore. - Addition of a new board for Exynos4 (trats2) and more bindings for 4x12 IP. - Addition of Allwinner A20 and A31 SoC and board files. - Move of the ST Ericsson device tree files to now use ste-* prefix. - More move of hardware description of shmobile platforms to DT. - Two new board dts files for Freescale MXs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJSKhJrAAoJEIwa5zzehBx3O6YP/AzskDtXdgdaopgZXVQxCIhE svby8xG2pcFvuAYEv7KNwgk02oC+B5JrUj7ZG42IOPeVo4HN7k80ehxmP5MZwnqs LpvBRXqUGAzEoJRhCD/lF4tuw+J5R/XgVWkIVz4nQ8tLdsSWJ3QY5LSS6ePTP6Qi 2B3AbeW/7DSada7lHJE9CqIX5xienLo4YgfCWXHNT8ouFGfqKjBxqIbCFyvzrGfs jSsIsqy1IO0hnk61yHtbPCRl9FJg2rbVwqHBZvKHMW0ls19Q42chlK/dPO5JCb4w VWMqbdOr8fnbqzicVqUPbShYZjgEd5I6PUgZMXJqEacgX9dj3SfOOtcR9kfrntHE of7Wi3FzVzWTzclRnub9nHrBIwvThAr+WX+mvbZrD+tuQte8qkFZXO9mw5/hRA7M K1O1HgaH1R1Xcdo69EWx9o94NYJ9Vs9F6wmS2+nb1B8u83Ee2Uq0GES5oyYqhU56 qg8FOMYUBDwXlHpjt1qiSwAYrabdCyxMx8lt351bxmiyKRFx0hmyGsv6HvlHJ7Oz hn6xHcNyIoCIuOvWxiLmKKU2ameDn16uSd71MSwomnQ+U4V+QzoqQ4QDgYD6Sgd5 5fln3OYV3JniWeYFw9DkSLKQTYBodz06wA+XOurcNWs3Ls0E9GilKFixKC6GoEVC uIywadgelMfDux8GGD3x =1GuI -----END PGP SIGNATURE----- Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC DT updates from Olof Johansson: "Device tree and bindings updates for 3.12. General additions of various on-chip and on-board peripherals on various platforms as support gets added. Some of the bigger changes are: - Addition of (new) PCI-e support on Tegra. - More Tegra4 support, including PMC configuration for Dalmore. - Addition of a new board for Exynos4 (trats2) and more bindings for 4x12 IP. - Addition of Allwinner A20 and A31 SoC and board files. - Move of the ST Ericsson device tree files to now use ste-* prefix. - More move of hardware description of shmobile platforms to DT. - Two new board dts files for Freescale MXs" * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (177 commits) dts: Rename DW APB timer compatible strings dts: Deprecate ALTR as a vendor prefix of: add vendor prefix for Altera Corp. ARM: at91/dt: sam9x5ek: add sound configuration ARM: at91/dt: sam9x5ek: enable SSC ARM: at91/dt: sam9x5ek: add WM8731 codec ARM: at91/dt: sam9x5: add SSC DMA parameters ARM: at91/dt: add at91rm9200 PQFP package version ARM: at91: at91rm9200: set default mmc0 pinctrl-names ARM: at91: at91sam9n12: correct pin number of gpio-key ARM: at91: at91sam9n12: add qt1070 support ARM: at91: at91sam9n12: add pinctrl of TWI ARM: at91: Add PMU support for sama5d3 ARM: at91: at91sam9260: add missing pinctrl-names on mmc ARM: tegra: configure power off for Dalmore ARM: DT: binding fixup to align with vendor-prefixes.txt (DT) ARM: dts: add sdio blocks to bcm28155-ap board ARM: dts: align sdio numbers to HW definition ARM: sun7i: Add Olimex A20-Olinuxino-Micro support ARM: sun7i: Add Allwinner A20 DTSI ...
146 lines
2.7 KiB
Plaintext
146 lines
2.7 KiB
Plaintext
/*
|
|
* at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board
|
|
*
|
|
* Copyright (C) 2012 Atmel,
|
|
* 2012 Hong Xu <hong.xu@atmel.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91sam9n12.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel AT91SAM9N12-EK";
|
|
compatible = "atmel,at91sam9n12ek", "atmel,at91sam9n12", "atmel,at91sam9";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x20000000 0x8000000>;
|
|
};
|
|
|
|
clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
main_clock: clock@0 {
|
|
compatible = "atmel,osc", "fixed-clock";
|
|
clock-frequency = <16000000>;
|
|
};
|
|
};
|
|
|
|
ahb {
|
|
apb {
|
|
dbgu: serial@fffff200 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c0: i2c@f8010000 {
|
|
status = "okay";
|
|
|
|
qt1070: keyboard@1b {
|
|
compatible = "qt1070";
|
|
reg = <0x1b>;
|
|
interrupt-parent = <&pioA>;
|
|
interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_qt1070_irq>;
|
|
};
|
|
};
|
|
|
|
i2c1: i2c@f8014000 {
|
|
status = "okay";
|
|
};
|
|
|
|
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 = <&pioA 7 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
pinctrl@fffff400 {
|
|
mmc0 {
|
|
pinctrl_board_mmc0: mmc0-board {
|
|
atmel,pins =
|
|
<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PA7 gpio CD pin pull up and deglitch */
|
|
};
|
|
};
|
|
|
|
qt1070 {
|
|
pinctrl_qt1070_irq: qt1070_irq {
|
|
atmel,pins =
|
|
<AT91_PIOA 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
spi0: spi@f0000000 {
|
|
status = "okay";
|
|
cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
|
|
m25p80@0 {
|
|
compatible = "atmel,at25df321a";
|
|
spi-max-frequency = <50000000>;
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
watchdog@fffffe40 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
nand0: nand@40000000 {
|
|
nand-bus-width = <8>;
|
|
nand-ecc-mode = "hw";
|
|
atmel,has-pmecc;
|
|
atmel,pmecc-cap = <2>;
|
|
atmel,pmecc-sector-size = <512>;
|
|
nand-on-flash-bbt;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
d8 {
|
|
label = "d8";
|
|
gpios = <&pioB 4 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "mmc0";
|
|
};
|
|
|
|
d9 {
|
|
label = "d6";
|
|
gpios = <&pioB 5 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "nand-disk";
|
|
};
|
|
|
|
d10 {
|
|
label = "d7";
|
|
gpios = <&pioB 6 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
|
|
enter {
|
|
label = "Enter";
|
|
gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
|
|
linux,code = <28>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
};
|