ARM: dts: i.MX27: Allow to define partitions onto SDHC
Subsystems (2)
PATCH 1/2 ARM: dts: i.MX27: Allow to define partitions onto SDHC
This patch allow to define partitions onto SDHC in user defined devicetrees.
--- arch/arm/boot/dts/imx27.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx27.dtsi +6 -0
@@ -263,6 +263,8 @@ }; sdhci1: sdhci at 10013000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x10013000 0x1000>; interrupts = <11>;
@@ -274,6 +276,8 @@ }; sdhci2: sdhci at 10014000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x10014000 0x1000>; interrupts = <10>;
@@ -416,6 +420,8 @@ }; sdhci3: sdhci at 1001e000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x1001e000 0x1000>; interrupts = <9>;
Signature · 1 line
1.8.3.2
PATCH 2/2 ARM: dts: i.MX51: Allow to define partitions onto SDHC, PATA and NFC
This patch allow to define partitions onto SDHC, PATA and NFC in user defined devicetrees.
--- arch/arm/boot/dts/imx51.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/imx51.dtsi +12 -0
@@ -161,6 +161,8 @@ ranges; esdhc1: esdhc at 70004000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-esdhc"; reg = <0x70004000 0x4000>; interrupts = <1>;
@@ -172,6 +174,8 @@ }; esdhc2: esdhc at 70008000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-esdhc"; reg = <0x70008000 0x4000>; interrupts = <2>;
@@ -219,6 +223,8 @@ }; esdhc3: esdhc at 70020000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-esdhc"; reg = <0x70020000 0x4000>; interrupts = <3>;
@@ -231,6 +237,8 @@ }; esdhc4: esdhc at 70024000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-esdhc"; reg = <0x70024000 0x4000>; interrupts = <4>;
@@ -534,6 +542,8 @@ }; nfc: nand at 83fdb000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-nand"; reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>; interrupts = <8>;
@@ -542,6 +552,8 @@ }; pata: pata at 83fe0000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx51-pata", "fsl,imx27-pata"; reg = <0x83fe0000 0x4000>; interrupts = <70>;
Signature · 1 line
1.8.3.2
PATCH 1/2 ARM: dts: i.MX27: Allow to define partitions onto SDHC
In reply to Alexander ShiyanQuoted 2 lines · Alexander Shiyan
This patch allow to define partitions onto SDHC in user defined devicetrees.
Hmm, is this something like MTD ofpart? Is this the right thing to do for block device? How this will be used by kernel?
Shawn
Quoted 42 lines
Signed-off-by Alexander Shiyan <[email protected]>--- arch/arm/boot/dts/imx27.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/imx27.dtsi +6
-0@@ -263,6 +263,8 @@ }; sdhci1: sdhci at 10013000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x10013000 0x1000>; interrupts = <11>;@@ -274,6 +276,8 @@ }; sdhci2: sdhci at 10014000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x10014000 0x1000>; interrupts = <10>;@@ -416,6 +420,8 @@ }; sdhci3: sdhci at 1001e000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx27-mmc", "fsl,imx21-mmc"; reg = <0x1001e000 0x1000>; interrupts = <9>;Signature · 1 line
1.8.3.2
Mon, 14 Apr 2014 09:32:03 +0800 ?? Shawn Guo <[email protected]>:
Quoted 6 lines · Alexander Shiyan
Quoted 2 lines
This patch allow to define partitions onto SDHC in user defined devicetrees.
Hmm, is this something like MTD ofpart? Is this the right thing to do for block device? How this will be used by kernel?
This was intended for use not from the kernel, so probably this is not a right place...
I'll resend v2 with patching i.MX51 NFC only.
---