-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next/dt' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/arm/linux-arm-soc * 'next/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (21 commits) arm/dt: tegra devicetree support arm/versatile: Add device tree support dt/irq: add irq_domain_generate_simple() helper irq: add irq_domain translation infrastructure dmaengine: imx-sdma: add device tree probe support dmaengine: imx-sdma: sdma_get_firmware does not need to copy fw_name dmaengine: imx-sdma: use platform_device_id to identify sdma version mmc: sdhci-esdhc-imx: add device tree probe support mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx() mmc: sdhci-esdhc-imx: do not reference platform data after probe mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5 net/fec: add device tree probe support net: ibm_newemac: convert it to use of_get_phy_mode dt/net: add helper function of_get_phy_mode net/fec: gasket needs to be enabled for some i.mx serial/imx: add device tree probe support serial/imx: get rid of the uses of cpu_is_mx1() arm/dt: Add dtb make rule arm/dt: Add skeleton dtsi file ...
- Loading branch information
Showing
72 changed files
with
1,963 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ARM Versatile Application and Platform Baseboards | ||
------------------------------------------------- | ||
ARM's development hardware platform with connectors for customizable | ||
core tiles. The hardware configuration of the Versatile boards is | ||
highly customizable. | ||
|
||
Required properties (in root node): | ||
compatible = "arm,versatile-ab"; /* Application baseboard */ | ||
compatible = "arm,versatile-pb"; /* Platform baseboard */ | ||
|
||
Interrupt controllers: | ||
- VIC required properties: | ||
compatible = "arm,versatile-vic"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
|
||
- SIC required properties: | ||
compatible = "arm,versatile-sic"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
* Freescale Smart Direct Memory Access (SDMA) Controller for i.MX | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<chip>-sdma" | ||
- reg : Should contain SDMA registers location and length | ||
- interrupts : Should contain SDMA interrupt | ||
- fsl,sdma-ram-script-name : Should contain the full path of SDMA RAM | ||
scripts firmware | ||
|
||
Examples: | ||
|
||
sdma@83fb0000 { | ||
compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; | ||
reg = <0x83fb0000 0x4000>; | ||
interrupts = <6>; | ||
fsl,sdma-ram-script-name = "sdma-imx51.bin"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
i2c Controller on ARM Versatile platform: | ||
|
||
Required properties: | ||
- compatible : Must be "arm,versatile-i2c"; | ||
- reg | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Optional properties: | ||
- Child nodes conforming to i2c bus binding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
* Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX | ||
|
||
The Enhanced Secure Digital Host Controller on Freescale i.MX family | ||
provides an interface for MMC, SD, and SDIO types of memory cards. | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<chip>-esdhc" | ||
- reg : Should contain eSDHC registers location and length | ||
- interrupts : Should contain eSDHC interrupt | ||
|
||
Optional properties: | ||
- fsl,card-wired : Indicate the card is wired to host permanently | ||
- fsl,cd-internal : Indicate to use controller internal card detection | ||
- fsl,wp-internal : Indicate to use controller internal write protection | ||
- cd-gpios : Specify GPIOs for card detection | ||
- wp-gpios : Specify GPIOs for write protection | ||
|
||
Examples: | ||
|
||
esdhc@70004000 { | ||
compatible = "fsl,imx51-esdhc"; | ||
reg = <0x70004000 0x4000>; | ||
interrupts = <1>; | ||
fsl,cd-internal; | ||
fsl,wp-internal; | ||
}; | ||
|
||
esdhc@70008000 { | ||
compatible = "fsl,imx51-esdhc"; | ||
reg = <0x70008000 0x4000>; | ||
interrupts = <2>; | ||
cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */ | ||
wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Flash device on ARM Versatile board | ||
|
||
Required properties: | ||
- compatible : must be "arm,versatile-flash"; | ||
- bank-width : width in bytes of flash interface. | ||
|
||
Optional properties: | ||
- Subnode partition map from mtd flash binding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* Freescale Fast Ethernet Controller (FEC) | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<soc>-fec" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain fec interrupt | ||
- phy-mode : String, operation mode of the PHY interface. | ||
Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", | ||
"rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". | ||
- phy-reset-gpios : Should specify the gpio for phy reset | ||
|
||
Optional properties: | ||
- local-mac-address : 6 bytes, mac address | ||
|
||
Example: | ||
|
||
fec@83fec000 { | ||
compatible = "fsl,imx51-fec", "fsl,imx27-fec"; | ||
reg = <0x83fec000 0x4000>; | ||
interrupts = <87>; | ||
phy-mode = "mii"; | ||
phy-reset-gpios = <&gpio1 14 0>; /* GPIO2_14 */ | ||
local-mac-address = [00 04 9F 01 1B B9]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
SMSC LAN91c111 Ethernet mac | ||
|
||
Required properties: | ||
- compatible = "smsc,lan91c111"; | ||
- reg : physical address and size of registers | ||
- interrupts : interrupt connection | ||
|
||
Optional properties: | ||
- phy-device : phandle to Ethernet phy | ||
- local-mac-address : Ethernet mac address to use |
19 changes: 19 additions & 0 deletions
19
Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
* Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<soc>-uart" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain uart interrupt | ||
|
||
Optional properties: | ||
- fsl,uart-has-rtscts : Indicate the uart has rts and cts | ||
- fsl,irda-mode : Indicate the uart supports irda mode | ||
|
||
Example: | ||
|
||
uart@73fbc000 { | ||
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
reg = <0x73fbc000 0x4000>; | ||
interrupts = <31>; | ||
fsl,uart-has-rtscts; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Skeleton device tree; the bare minimum needed to boot; just include and | ||
* add a compatible value. The bootloader will typically populate the memory | ||
* node. | ||
*/ | ||
|
||
/ { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
chosen { }; | ||
aliases { }; | ||
memory { device_type = "memory"; reg = <0 0>; }; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/dts-v1/; | ||
|
||
/memreserve/ 0x1c000000 0x04000000; | ||
/include/ "tegra20.dtsi" | ||
|
||
/ { | ||
model = "NVIDIA Tegra2 Harmony evaluation board"; | ||
compatible = "nvidia,harmony", "nvidia,tegra20"; | ||
|
||
chosen { | ||
bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait"; | ||
}; | ||
|
||
memory@0 { | ||
reg = < 0x00000000 0x40000000 >; | ||
}; | ||
|
||
i2c@7000c000 { | ||
clock-frequency = <400000>; | ||
|
||
codec: wm8903@1a { | ||
compatible = "wlf,wm8903"; | ||
reg = <0x1a>; | ||
interrupts = < 347 >; | ||
|
||
gpio-controller; | ||
#gpio-cells = <2>; | ||
|
||
/* 0x8000 = Not configured */ | ||
gpio-cfg = < 0x8000 0x8000 0 0x8000 0x8000 >; | ||
}; | ||
}; | ||
|
||
i2c@7000c400 { | ||
clock-frequency = <400000>; | ||
}; | ||
|
||
i2c@7000c500 { | ||
clock-frequency = <400000>; | ||
}; | ||
|
||
i2c@7000d000 { | ||
clock-frequency = <400000>; | ||
}; | ||
|
||
sound { | ||
compatible = "nvidia,harmony-sound", "nvidia,tegra-wm8903"; | ||
|
||
spkr-en-gpios = <&codec 2 0>; | ||
hp-det-gpios = <&gpio 178 0>; | ||
int-mic-en-gpios = <&gpio 184 0>; | ||
ext-mic-en-gpios = <&gpio 185 0>; | ||
}; | ||
|
||
serial@70006300 { | ||
clock-frequency = < 216000000 >; | ||
}; | ||
|
||
sdhci@c8000200 { | ||
gpios = <&gpio 69 0>, /* cd, gpio PI5 */ | ||
<&gpio 57 0>, /* wp, gpio PH1 */ | ||
<&gpio 155 0>; /* power, gpio PT3 */ | ||
}; | ||
|
||
sdhci@c8000600 { | ||
gpios = <&gpio 58 0>, /* cd, gpio PH2 */ | ||
<&gpio 59 0>, /* wp, gpio PH3 */ | ||
<&gpio 70 0>; /* power, gpio PI6 */ | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/dts-v1/; | ||
|
||
/memreserve/ 0x1c000000 0x04000000; | ||
/include/ "tegra20.dtsi" | ||
|
||
/ { | ||
model = "NVIDIA Seaboard"; | ||
compatible = "nvidia,seaboard", "nvidia,tegra20"; | ||
|
||
chosen { | ||
bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait"; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = < 0x00000000 0x40000000 >; | ||
}; | ||
|
||
serial@70006300 { | ||
clock-frequency = < 216000000 >; | ||
}; | ||
|
||
sdhci@c8000400 { | ||
gpios = <&gpio 69 0>, /* cd, gpio PI5 */ | ||
<&gpio 57 0>, /* wp, gpio PH1 */ | ||
<&gpio 70 0>; /* power, gpio PI6 */ | ||
}; | ||
}; |
Oops, something went wrong.