projects/linux·commit 09893ee8

Merge tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

09893ee8 · Linus Torvalds <[email protected]> · 2012-03-28 12:34:33 -07:00

Pull "ARM: More device tree support updates" from Olof Johansson:
 "This branch contains a number of updates for device tree support on
  several ARM platforms, in particular:

   * AT91 continues the device tree conversion adding support for a
     number of on-chip drivers and other functionality
   * ux500 adds probing of some of the core SoC blocks through device
     tree
   * Initial device tree support for ST SPEAr600 platforms
   * kirkwood continues the conversion to device-tree probing"

Manually merge arch/arm/mach-ux500/Kconfig due to MACH_U8500 rename, and
drivers/usb/gadget/at91_udc.c due to header file include cleanups.

Also do an "evil merge" for the MACH_U8500 config option rename that the
affected RMI4 touchscreen driver in staging.  It's called MACH_MOP500
now, and it was missed during previous merges.

* tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
  ARM: SPEAr600: Add device-tree support to SPEAr600 boards
  ARM: ux500: Provide local timer support for Device Tree
  ARM: ux500: Enable PL022 SSP Controller in Device Tree
  ARM: ux500: Enable PL310 Level 2 Cache Controller in Device Tree
  ARM: ux500: Enable PL011 AMBA UART Controller for Device Tree
  ARM: ux500: Enable Cortex-A9 GIC (Generic Interrupt Controller) in Device Tree
  ARM: ux500: db8500: list most devices in the snowball device tree
  ARM: ux500: split dts file for snowball into generic part
  ARM: ux500: combine the board init functions for DT boot
  ARM: ux500: Initial Device Tree support for Snowball
  ARM: ux500: CONFIG: Enable Device Tree support for future endeavours
  ARM: kirkwood: use devicetree for rtc-mv
  ARM: kirkwood: rtc-mv devicetree bindings
  ARM: kirkwood: fdt: define uart[01] as disabled, enable uart0
  ARM: kirkwood: fdt: facilitate new boards during fdt migration
  ARM: kirkwood: fdt: absorb kirkwood_init()
  ARM: kirkwood: fdt: use mrvl ticker symbol
  ARM: orion: wdt: use resource vice direct access
  ARM: Kirkwood: Remove tclk from kirkwood_asoc_platform_data.
  ARM: orion: spi: remove enable_clock_fix which is not used
  ...
Commit
09893ee84591b0417a9186a7e7cf1503ccf99ac2
Parents
4bb2d100 · 7d1206bc

Merge commit. Changes below are compared with the first parent: 4bb2d100.

Changes

96 files changed · +2536 −555

FileStatusAddDelContent
Documentation/devicetree/bindings/arm/atmel-at91.txtmodified+60−0View file
Documentation/devicetree/bindings/arm/atmel-pmc.txtadded+11−0View file
Documentation/devicetree/bindings/arm/spear.txtadded+8−0View file
Documentation/devicetree/bindings/gpio/gpio_i2c.txtadded+32−0View file
Documentation/devicetree/bindings/mtd/atmel-nand.txtadded+41−0View file
Documentation/devicetree/bindings/mtd/nand.txtadded+7−0View file
Documentation/devicetree/bindings/usb/atmel-usb.txtadded+49−0View file
Documentation/devicetree/bindings/usb/tegra-usb.txtmodified+13−0View file
arch/arm/boot/dts/at91sam9g20.dtsimodified+63−0View file
arch/arm/boot/dts/at91sam9g25ek.dtsmodified+13−1View file
arch/arm/boot/dts/at91sam9g45.dtsimodified+64−0View file
arch/arm/boot/dts/at91sam9m10g45ek.dtsmodified+45−1View file
arch/arm/boot/dts/at91sam9x5.dtsimodified+88−0View file
arch/arm/boot/dts/at91sam9x5cm.dtsimodified+45−0View file
arch/arm/boot/dts/db8500.dtsiadded+275−0View file
arch/arm/boot/dts/kirkwood-dreamplug.dtsmodified+6−7View file
arch/arm/boot/dts/kirkwood.dtsimodified+32−2View file
arch/arm/boot/dts/snowball.dtsadded+139−0View file
arch/arm/boot/dts/spear600-evb.dtsadded+47−0View file
arch/arm/boot/dts/spear600.dtsiadded+174−0View file
arch/arm/boot/dts/tegra-seaboard.dtsmodified+1−0View file
arch/arm/boot/dts/tegra20.dtsimodified+1−0View file
arch/arm/boot/dts/usb_a9g20-dab-mmx.dtsiadded+96−0View file
arch/arm/boot/dts/usb_a9g20.dtsmodified+73−1View file
arch/arm/configs/at91sam9g20_defconfigmodified+3−0View file
arch/arm/configs/u8500_defconfigmodified+1−0View file
arch/arm/mach-at91/Kconfigmodified+2−8View file
arch/arm/mach-at91/at91sam9260.cmodified+1−0View file
arch/arm/mach-at91/at91sam9g45.cmodified+2−0View file
arch/arm/mach-at91/at91sam9x5.cmodified+4−13View file
arch/arm/mach-at91/board-afeb-9260v1.cmodified+1−0View file
arch/arm/mach-at91/board-cam60.cmodified+1−0View file
arch/arm/mach-at91/board-cpu9krea.cmodified+1−0View file
arch/arm/mach-at91/board-dt.cmodified+1−56View file
arch/arm/mach-at91/board-kb9202.cmodified+1−0View file
arch/arm/mach-at91/board-neocore926.cmodified+1−0View file
arch/arm/mach-at91/board-qil-a9260.cmodified+2−0View file
arch/arm/mach-at91/board-rm9200dk.cmodified+2−0View file
arch/arm/mach-at91/board-sam9-l9260.cmodified+1−0View file
arch/arm/mach-at91/board-sam9260ek.cmodified+2−0View file
arch/arm/mach-at91/board-sam9261ek.cmodified+2−0View file
arch/arm/mach-at91/board-sam9263ek.cmodified+2−0View file
arch/arm/mach-at91/board-sam9g20ek.cmodified+2−0View file
arch/arm/mach-at91/board-sam9m10g45ek.cmodified+2−0View file
arch/arm/mach-at91/board-sam9rlek.cmodified+2−0View file
arch/arm/mach-at91/board-snapper9260.cmodified+1−0View file
arch/arm/mach-at91/board-stamp9g20.cmodified+1−0View file
arch/arm/mach-at91/board-usb-a926x.cmodified+2−0View file
arch/arm/mach-at91/board-yl-9200.cmodified+1−0View file
arch/arm/mach-at91/clock.cmodified+51−5View file
arch/arm/mach-at91/generic.hmodified+2−0View file
arch/arm/mach-at91/include/mach/at91_shdwc.hmodified+3−1View file
arch/arm/mach-at91/include/mach/at91sam9x5.hmodified+0−5View file
arch/arm/mach-at91/include/mach/board.hmodified+1−14View file
arch/arm/mach-at91/pm.cmodified+0−13View file
arch/arm/mach-at91/setup.cmodified+158−0View file
arch/arm/mach-kirkwood/Makefilemodified+1−0View file
arch/arm/mach-kirkwood/board-dreamplug.cadded+152−0View file
arch/arm/mach-kirkwood/board-dt.cmodified+23−128View file
arch/arm/mach-kirkwood/common.cmodified+5−6View file
arch/arm/mach-kirkwood/common.hmodified+15−0View file
arch/arm/mach-spear6xx/Kconfigmodified+4−3View file
arch/arm/mach-spear6xx/Makefilemodified+0−6View file
arch/arm/mach-spear6xx/clock.cmodified+7−7View file
arch/arm/mach-spear6xx/spear600.cdeleted+0−25View before deletion
arch/arm/mach-spear6xx/spear600_evb.cdeleted+0−54View before deletion
arch/arm/mach-spear6xx/spear6xx.cmodified+36−96View file
arch/arm/mach-ux500/Kconfigmodified+6−0View file
arch/arm/mach-ux500/Makefile.bootmodified+1−0View file
arch/arm/mach-ux500/board-mop500.cmodified+97−2View file
arch/arm/mach-ux500/cache-l2x0.cmodified+6−1View file
arch/arm/mach-ux500/cpu.cmodified+13−1View file
arch/arm/mach-ux500/timer.cmodified+8−3View file
arch/arm/plat-orion/common.cmodified+6−1View file
arch/arm/plat-orion/include/plat/audio.hmodified+0−1View file
arch/avr32/boards/atngw100/setup.cmodified+1−0View file
arch/avr32/boards/atstk1000/atstk1002.cmodified+1−0View file
arch/avr32/mach-at32ap/include/mach/board.hmodified+1−12View file
drivers/i2c/busses/i2c-gpio.cmodified+76−22View file
drivers/mtd/nand/atmel_nand.cmodified+98−38View file
drivers/of/Kconfigmodified+4−0View file
drivers/of/Makefilemodified+1−0View file
drivers/of/of_mtd.cadded+85−0View file
drivers/rtc/rtc-mv.cmodified+9−0View file
drivers/spi/spi-orion.cmodified+0−5View file
drivers/staging/ste_rmi4/Makefilemodified+1−1View file
drivers/usb/Kconfigmodified+1−1View file
drivers/usb/gadget/Kconfigmodified+1−1View file
drivers/usb/gadget/at91_udc.cmodified+38−2View file
drivers/usb/host/ehci-atmel.cmodified+23−1View file
drivers/usb/host/ohci-at91.cmodified+100−1View file
drivers/watchdog/orion_wdt.cmodified+15−9View file
include/linux/of.hmodified+16−0View file
include/linux/of_mtd.hadded+19−0View file
include/linux/platform_data/atmel.hadded+27−0View file
include/linux/spi/orion_spi.hmodified+0−1View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/arm/atmel-at91.txt

View file
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
index 1aeaf6f..ecc81e3 100644
--- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
@@ -30,3 +30,63 @@ One interrupt per TC channel in a TC block:
reg = <0xfffdc000 0x100>;
interrupts = <26 4 27 4 28 4>;
};
+
+RSTC Reset Controller required properties:
+- compatible: Should be "atmel,<chip>-rstc".
+ <chip> can be "at91sam9260" or "at91sam9g45"
+- reg: Should contain registers location and length
+
+Example:
+
+ rstc@fffffd00 {
+ compatible = "atmel,at91sam9260-rstc";
+ reg = <0xfffffd00 0x10>;
+ };
+
+RAMC SDRAM/DDR Controller required properties:
+- compatible: Should be "atmel,at91sam9260-sdramc",
+ "atmel,at91sam9g45-ddramc",
+- reg: Should contain registers location and length
+ For at91sam9263 and at91sam9g45 you must specify 2 entries.
+
+Examples:
+
+ ramc0: ramc@ffffe800 {
+ compatible = "atmel,at91sam9g45-ddramc";
+ reg = <0xffffe800 0x200>;
+ };
+
+ ramc0: ramc@ffffe400 {
+ compatible = "atmel,at91sam9g45-ddramc";
+ reg = <0xffffe400 0x200
+ 0xffffe600 0x200>;
+ };
+
+SHDWC Shutdown Controller
+
+required properties:
+- compatible: Should be "atmel,<chip>-shdwc".
+ <chip> can be "at91sam9260", "at91sam9rl" or "at91sam9x5".
+- reg: Should contain registers location and length
+
+optional properties:
+- atmel,wakeup-mode: String, operation mode of the wakeup mode.
+ Supported values are: "none", "high", "low", "any".
+- atmel,wakeup-counter: Counter on Wake-up 0 (between 0x0 and 0xf).
+
+optional at91sam9260 properties:
+- atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
+
+optional at91sam9rl properties:
+- atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
+- atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
+
+optional at91sam9x5 properties:
+- atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
+
+Example:
+
+ rstc@fffffd00 {
+ compatible = "atmel,at91sam9260-rstc";
+ reg = <0xfffffd00 0x10>;
+ };

Documentation/devicetree/bindings/arm/atmel-pmc.txt

View file
diff --git a/Documentation/devicetree/bindings/arm/atmel-pmc.txt b/Documentation/devicetree/bindings/arm/atmel-pmc.txt
new file mode 100644
index 0000000..389bed5
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/atmel-pmc.txt
@@ -0,0 +1,11 @@
+* Power Management Controller (PMC)
+
+Required properties:
+- compatible: Should be "atmel,at91rm9200-pmc"
+- reg: Should contain PMC registers location and length
+
+Examples:
+ pmc: pmc@fffffc00 {
+ compatible = "atmel,at91rm9200-pmc";
+ reg = <0xfffffc00 0x100>;
+ };

Documentation/devicetree/bindings/arm/spear.txt

View file
diff --git a/Documentation/devicetree/bindings/arm/spear.txt b/Documentation/devicetree/bindings/arm/spear.txt
new file mode 100644
index 0000000..f8e54f0
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/spear.txt
@@ -0,0 +1,8 @@
+ST SPEAr Platforms Device Tree Bindings
+---------------------------------------
+
+Boards with the ST SPEAr600 SoC shall have the following properties:
+
+Required root node property:
+
+compatible = "st,spear600";

Documentation/devicetree/bindings/gpio/gpio_i2c.txt

View file
diff --git a/Documentation/devicetree/bindings/gpio/gpio_i2c.txt b/Documentation/devicetree/bindings/gpio/gpio_i2c.txt
new file mode 100644
index 0000000..4f8ec94
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio_i2c.txt
@@ -0,0 +1,32 @@
+Device-Tree bindings for i2c gpio driver
+
+Required properties:
+ - compatible = "i2c-gpio";
+ - gpios: sda and scl gpio
+
+
+Optional properties:
+ - i2c-gpio,sda-open-drain: sda as open drain
+ - i2c-gpio,scl-open-drain: scl as open drain
+ - i2c-gpio,scl-output-only: scl as output only
+ - i2c-gpio,delay-us: delay between GPIO operations (may depend on each platform)
+ - i2c-gpio,timeout-ms: timeout to get data
+
+Example nodes:
+
+i2c@0 {
+ compatible = "i2c-gpio";
+ gpios = <&pioA 23 0 /* sda */
+ &pioA 24 0 /* scl */
+ >;
+ i2c-gpio,sda-open-drain;
+ i2c-gpio,scl-open-drain;
+ i2c-gpio,delay-us = <2>; /* ~100 kHz */
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rv3029c2@56 {
+ compatible = "rv3029c2";
+ reg = <0x56>;
+ };
+};

Documentation/devicetree/bindings/mtd/atmel-nand.txt

View file
diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt
new file mode 100644
index 0000000..5903ecf
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt
@@ -0,0 +1,41 @@
+Atmel NAND flash
+
+Required properties:
+- compatible : "atmel,at91rm9200-nand".
+- reg : should specify localbus address and size used for the chip,
+ and if availlable the ECC.
+- atmel,nand-addr-offset : offset for the address latch.
+- atmel,nand-cmd-offset : offset for the command latch.
+- #address-cells, #size-cells : Must be present if the device has sub-nodes
+ representing partitions.
+
+- gpios : specifies the gpio pins to control the NAND device. detect is an
+ optional gpio and may be set to 0 if not present.
+
+Optional properties:
+- nand-ecc-mode : String, operation mode of the NAND ecc mode, soft by default.
+ Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first",
+ "soft_bch".
+- nand-bus-width : 8 or 16 bus width if not present 8
+- nand-on-flash-bbt: boolean to enable on flash bbt option if not present false
+
+Examples:
+nand0: nand@40000000,0 {
+ compatible = "atmel,at91rm9200-nand";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x40000000 0x10000000
+ 0xffffe800 0x200
+ >;
+ atmel,nand-addr-offset = <21>;
+ atmel,nand-cmd-offset = <22>;
+ nand-on-flash-bbt;
+ nand-ecc-mode = "soft";
+ gpios = <&pioC 13 0
+ &pioC 14 0
+ 0
+ >;
+ partition@0 {
+ ...
+ };
+};

Documentation/devicetree/bindings/mtd/nand.txt

View file
diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt
new file mode 100644
index 0000000..03855c8
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/nand.txt
@@ -0,0 +1,7 @@
+* MTD generic binding
+
+- nand-ecc-mode : String, operation mode of the NAND ecc mode.
+ Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first",
+ "soft_bch".
+- nand-bus-width : 8 or 16 bus width if not present 8
+- nand-on-flash-bbt: boolean to enable on flash bbt option if not present false

Documentation/devicetree/bindings/usb/atmel-usb.txt

View file
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt
new file mode 100644
index 0000000..60bd215
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt
@@ -0,0 +1,49 @@
+Atmel SOC USB controllers
+
+OHCI
+
+Required properties:
+ - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers
+ used in host mode.
+ - num-ports: Number of ports.
+ - atmel,vbus-gpio: If present, specifies a gpio that needs to be
+ activated for the bus to be powered.
+ - atmel,oc-gpio: If present, specifies a gpio that needs to be
+ activated for the overcurrent detection.
+
+usb0: ohci@00500000 {
+ compatible = "atmel,at91rm9200-ohci", "usb-ohci";
+ reg = <0x00500000 0x100000>;
+ interrupts = <20 4>;
+ num-ports = <2>;
+};
+
+EHCI
+
+Required properties:
+ - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers
+ used in host mode.
+
+usb1: ehci@00800000 {
+ compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
+ reg = <0x00800000 0x100000>;
+ interrupts = <22 4>;
+};
+
+AT91 USB device controller
+
+Required properties:
+ - compatible: Should be "atmel,at91rm9200-udc"
+ - reg: Address and length of the register set for the device
+ - interrupts: Should contain macb interrupt
+
+Optional properties:
+ - atmel,vbus-gpio: If present, specifies a gpio that needs to be
+ activated for the bus to be powered.
+
+usb1: gadget@fffa4000 {
+ compatible = "atmel,at91rm9200-udc";
+ reg = <0xfffa4000 0x4000>;
+ interrupts = <10 4>;
+ atmel,vbus-gpio = <&pioC 5 0>;
+};

Documentation/devicetree/bindings/usb/tegra-usb.txt

View file
diff --git a/Documentation/devicetree/bindings/usb/tegra-usb.txt b/Documentation/devicetree/bindings/usb/tegra-usb.txt
index 035d63d..007005d 100644
--- a/Documentation/devicetree/bindings/usb/tegra-usb.txt
+++ b/Documentation/devicetree/bindings/usb/tegra-usb.txt
@@ -11,3 +11,16 @@ Required properties :
- phy_type : Should be one of "ulpi" or "utmi".
- nvidia,vbus-gpio : If present, specifies a gpio that needs to be
activated for the bus to be powered.
+
+Optional properties:
+ - dr_mode : dual role mode. Indicates the working mode for
+ nvidia,tegra20-ehci compatible controllers. Can be "host", "peripheral",
+ or "otg". Default to "host" if not defined for backward compatibility.
+ host means this is a host controller
+ peripheral means it is device controller
+ otg means it can operate as either ("on the go")
+ - nvidia,has-legacy-mode : boolean indicates whether this controller can
+ operate in legacy mode (as APX 2500 / 2600). In legacy mode some
+ registers are accessed through the APB_MISC base address instead of
+ the USB controller. Since this is a legacy issue it probably does not
+ warrant a compatible string of its own.

arch/arm/boot/dts/at91sam9g20.dtsi

View file
diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
index a100db0..92f3662 100644
--- a/arch/arm/boot/dts/at91sam9g20.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20.dtsi
@@ -59,6 +59,26 @@
reg = <0xfffff000 0x200>;
};
+ ramc0: ramc@ffffea00 {
+ compatible = "atmel,at91sam9260-sdramc";
+ reg = <0xffffea00 0x200>;
+ };
+
+ pmc: pmc@fffffc00 {
+ compatible = "atmel,at91rm9200-pmc";
+ reg = <0xfffffc00 0x100>;
+ };
+
+ rstc@fffffd00 {
+ compatible = "atmel,at91sam9260-rstc";
+ reg = <0xfffffd00 0x10>;
+ };
+
+ shdwc@fffffd10 {
+ compatible = "atmel,at91sam9260-shdwc";
+ reg = <0xfffffd10 0x10>;
+ };
+
pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>;
@@ -171,6 +191,49 @@
interrupts = <21 4>;
status = "disabled";
};
+
+ usb1: gadget@fffa4000 {
+ compatible = "atmel,at91rm9200-udc";
+ reg = <0xfffa4000 0x4000>;
+ interrupts = <10 4>;
+ status = "disabled";
+ };
+ };
+
+ nand0: nand@40000000 {
+ compatible = "atmel,at91rm9200-nand";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x40000000 0x10000000
+ 0xffffe800 0x200
+ >;
+ atmel,nand-addr-offset = <21>;
+ atmel,nand-cmd-offset = <22>;
+ gpios = <&pioC 13 0
+ &pioC 14 0
+ 0
+ >;
+ status = "disabled";
};
+
+ usb0: ohci@00500000 {
+ compatible = "atmel,at91rm9200-ohci", "usb-ohci";
+ reg = <0x00500000 0x100000>;
+ interrupts = <20 4>;
+ status = "disabled";
+ };
+ };
+
+ i2c@0 {
+ compatible = "i2c-gpio";
+ gpios = <&pioA 23 0 /* sda */
+ &pioA 24 0 /* scl */
+ >;
+ i2c-gpio,sda-open-drain;
+ i2c-gpio,scl-open-drain;
+ i2c-gpio,delay-us = <2>; /* ~100 kHz */
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
};
};

arch/arm/boot/dts/at91sam9g25ek.dts

View file
diff --git a/arch/arm/boot/dts/at91sam9g25ek.dts b/arch/arm/boot/dts/at91sam9g25ek.dts
index e64eb93..ac0dc00 100644
--- a/arch/arm/boot/dts/at91sam9g25ek.dts
+++ b/arch/arm/boot/dts/at91sam9g25ek.dts
@@ -15,7 +15,7 @@
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
chosen {
- bootargs = "128M console=ttyS0,115200 mtdparts=atmel_nand:8M(bootstrap/uboot/kernel)ro,-(rootfs) root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
+ bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
};
ahb {
@@ -33,5 +33,17 @@
status = "okay";
};
};
+
+ usb0: ohci@00600000 {
+ status = "okay";
+ num-ports = <2>;
+ atmel,vbus-gpio = <&pioD 19 0
+ &pioD 20 0
+ >;
+ };
+
+ usb1: ehci@00700000 {
+ status = "okay";
+ };
};
};

arch/arm/boot/dts/at91sam9g45.dtsi

View file
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index f779667..3d0c32f 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -60,6 +60,22 @@
reg = <0xfffff000 0x200>;
};
+ ramc0: ramc@ffffe400 {
+ compatible = "atmel,at91sam9g45-ddramc";
+ reg = <0xffffe400 0x200
+ 0xffffe600 0x200>;
+ };
+
+ pmc: pmc@fffffc00 {
+ compatible = "atmel,at91rm9200-pmc";
+ reg = <0xfffffc00 0x100>;
+ };
+
+ rstc@fffffd00 {
+ compatible = "atmel,at91sam9g45-rstc";
+ reg = <0xfffffd00 0x10>;
+ };
+
pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>;
@@ -67,6 +83,11 @@
};
+ shdwc@fffffd10 {
+ compatible = "atmel,at91sam9rl-shdwc";
+ reg = <0xfffffd10 0x10>;
+ };
+
tcb0: timer@fff7c000 {
compatible = "atmel,at91rm9200-tcb";
reg = <0xfff7c000 0x100>;
@@ -180,5 +201,48 @@
status = "disabled";
};
};
+
+ nand0: nand@40000000 {
+ compatible = "atmel,at91rm9200-nand";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x40000000 0x10000000
+ 0xffffe200 0x200
+ >;
+ atmel,nand-addr-offset = <21>;
+ atmel,nand-cmd-offset = <22>;
+ gpios = <&pioC 8 0
+ &pioC 14 0
+ 0
+ >;
+ status = "disabled";
+ };
+
+ usb0: ohci@00700000 {
+ compatible = "atmel,at91rm9200-ohci", "usb-ohci";
+ reg = <0x00700000 0x100000>;
+ interrupts = <22 4>;
+ status = "disabled";
+ };
+
+ usb1: ehci@00800000 {
+ compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
+ reg = <0x00800000 0x100000>;
+ interrupts = <22 4>;
+ status = "disabled";
+ };
+ };
+
+ i2c@0 {
+ compatible = "i2c-gpio";
+ gpios = <&pioA 20 0 /* sda */
+ &pioA 21 0 /* scl */
+ >;
+ i2c-gpio,sda-open-drain;
+ i2c-gpio,scl-open-drain;
+ i2c-gpio,delay-us = <5>; /* ~100 kHz */
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
};
};

arch/arm/boot/dts/at91sam9m10g45ek.dts

View file
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
index 15e25f9..c4c8ae4 100644
--- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
+++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
@@ -14,13 +14,24 @@
compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
chosen {
- bootargs = "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:4M(bootstrap/uboot/kernel)ro,60M(rootfs),-(data) root=/dev/mtdblock1 rw rootfstype=jffs2";
+ bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
};
memory@70000000 {
reg = <0x70000000 0x4000000>;
};
+ clocks {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ main_clock: clock@0 {
+ compatible = "atmel,osc", "fixed-clock";
+ clock-frequency = <12000000>;
+ };
+ };
+
ahb {
apb {
dbgu: serial@ffffee00 {
@@ -36,6 +47,39 @@
status = "okay";
};
};
+
+ nand0: nand@40000000 {
+ nand-bus-width = <8>;
+ nand-ecc-mode = "soft";
+ nand-on-flash-bbt;
+ status = "okay";
+
+ boot@0 {
+ label = "bootstrap/uboot/kernel";
+ reg = <0x0 0x400000>;
+ };
+
+ rootfs@400000 {
+ label = "rootfs";
+ reg = <0x400000 0x3C00000>;
+ };
+
+ data@4000000 {
+ label = "data";
+ reg = <0x4000000 0xC000000>;
+ };
+ };
+
+ usb0: ohci@00700000 {
+ status = "okay";
+ num-ports = <2>;
+ atmel,vbus-gpio = <&pioD 1 0
+ &pioD 3 0>;
+ };
+
+ usb1: ehci@00800000 {
+ status = "okay";
+ };
};
leds {

arch/arm/boot/dts/at91sam9x5.dtsi

View file
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index a02e636..c111001 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -58,6 +58,26 @@
reg = <0xfffff000 0x200>;
};
+ ramc0: ramc@ffffe800 {
+ compatible = "atmel,at91sam9g45-ddramc";
+ reg = <0xffffe800 0x200>;
+ };
+
+ pmc: pmc@fffffc00 {
+ compatible = "atmel,at91rm9200-pmc";
+ reg = <0xfffffc00 0x100>;
+ };
+
+ rstc@fffffe00 {
+ compatible = "atmel,at91sam9g45-rstc";
+ reg = <0xfffffe00 0x10>;
+ };
+
+ shdwc@fffffe10 {
+ compatible = "atmel,at91sam9x5-shdwc";
+ reg = <0xfffffe10 0x10>;
+ };
+
pit: timer@fffffe30 {
compatible = "atmel,at91sam9260-pit";
reg = <0xfffffe30 0xf>;
@@ -172,5 +192,73 @@
status = "disabled";
};
};
+
+ nand0: nand@40000000 {
+ compatible = "atmel,at91rm9200-nand";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x40000000 0x10000000
+ >;
+ atmel,nand-addr-offset = <21>;
+ atmel,nand-cmd-offset = <22>;
+ gpios = <&pioC 8 0
+ &pioC 14 0
+ 0
+ >;
+ status = "disabled";
+ };
+
+ usb0: ohci@00600000 {
+ compatible = "atmel,at91rm9200-ohci", "usb-ohci";
+ reg = <0x00600000 0x100000>;
+ interrupts = <22 4>;
+ status = "disabled";
+ };

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/at91sam9x5cm.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/db8500.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/kirkwood-dreamplug.dts

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/kirkwood.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/snowball.dts

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/spear600-evb.dts

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/spear600.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/tegra-seaboard.dts

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/tegra20.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/usb_a9g20-dab-mmx.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/arm/boot/dts/usb_a9g20.dts

View file

This diff is incomplete. Download the complete patch.

arch/arm/configs/at91sam9g20_defconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/configs/u8500_defconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/at91sam9260.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/at91sam9g45.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/at91sam9x5.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-afeb-9260v1.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-cam60.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-cpu9krea.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-dt.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-kb9202.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-neocore926.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-qil-a9260.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-rm9200dk.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9-l9260.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9260ek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9261ek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9263ek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9g20ek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9m10g45ek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-sam9rlek.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-snapper9260.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-stamp9g20.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-usb-a926x.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/board-yl-9200.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/clock.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/generic.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/include/mach/at91_shdwc.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/include/mach/at91sam9x5.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/include/mach/board.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/pm.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-at91/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-kirkwood/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-kirkwood/board-dreamplug.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-kirkwood/board-dt.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-kirkwood/common.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-kirkwood/common.h

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/clock.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/spear600.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/spear600_evb.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/arm/mach-spear6xx/spear6xx.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/Kconfig

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/Makefile.boot

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/board-mop500.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/cache-l2x0.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/cpu.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/mach-ux500/timer.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-orion/common.c

View file

This diff is incomplete. Download the complete patch.

arch/arm/plat-orion/include/plat/audio.h

View file

This diff is incomplete. Download the complete patch.

arch/avr32/boards/atngw100/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/avr32/boards/atstk1000/atstk1002.c

View file

This diff is incomplete. Download the complete patch.

arch/avr32/mach-at32ap/include/mach/board.h

View file

This diff is incomplete. Download the complete patch.

drivers/i2c/busses/i2c-gpio.c

View file

This diff is incomplete. Download the complete patch.

drivers/mtd/nand/atmel_nand.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/of/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/of/of_mtd.c

View file

This diff is incomplete. Download the complete patch.

drivers/rtc/rtc-mv.c

View file

This diff is incomplete. Download the complete patch.

drivers/spi/spi-orion.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/ste_rmi4/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/usb/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/usb/gadget/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/usb/gadget/at91_udc.c

View file

This diff is incomplete. Download the complete patch.

drivers/usb/host/ehci-atmel.c

View file

This diff is incomplete. Download the complete patch.

drivers/usb/host/ohci-at91.c

View file

This diff is incomplete. Download the complete patch.

drivers/watchdog/orion_wdt.c

View file

This diff is incomplete. Download the complete patch.

include/linux/of.h

View file

This diff is incomplete. Download the complete patch.

include/linux/of_mtd.h

View file

This diff is incomplete. Download the complete patch.

include/linux/platform_data/atmel.h

View file

This diff is incomplete. Download the complete patch.

include/linux/spi/orion_spi.h

View file

This diff is incomplete. Download the complete patch.