* [PATCH 0/7] ARM: dts: lpc32xx: nonfunctional updates to ea3250 and phy3250 dts
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
The change updates DTS files of PHY3250 and EA3250 boards powered by
NXP LPC3250 SoC:
* flatten board DTS files by exploiting device node labels,
* add 'partitions' device node for MTD OF,
* correct Atmel vendor prefix,
* rename board DTS files by adding SoC name prefix.
The change is wanted to have to prevent similar issues on copy-paste
in case if more DTS files for LPC32xx boards are submitted.
No functional changes are intended.
Vladimir Zapolskiy (7):
ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
ARM: dts: lpc32xx: ea3250: add NAND partitions device node
ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
ARM: dts: lpc32xx: phy3250: add NAND partitions device node
ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
arch/arm/boot/dts/Makefile | 3 +-
.../boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 229 ++++++++---------
.../boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 285 ++++++++++-----------
3 files changed, 256 insertions(+), 261 deletions(-)
rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (61%)
rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (43%)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 0/7] ARM: dts: lpc32xx: nonfunctional updates to ea3250 and phy3250 dts
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
The change updates DTS files of PHY3250 and EA3250 boards powered by
NXP LPC3250 SoC:
* flatten board DTS files by exploiting device node labels,
* add 'partitions' device node for MTD OF,
* correct Atmel vendor prefix,
* rename board DTS files by adding SoC name prefix.
The change is wanted to have to prevent similar issues on copy-paste
in case if more DTS files for LPC32xx boards are submitted.
No functional changes are intended.
Vladimir Zapolskiy (7):
ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
ARM: dts: lpc32xx: ea3250: add NAND partitions device node
ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
ARM: dts: lpc32xx: phy3250: add NAND partitions device node
ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
arch/arm/boot/dts/Makefile | 3 +-
.../boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 229 ++++++++---------
.../boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 285 ++++++++++-----------
3 files changed, 256 insertions(+), 261 deletions(-)
rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (61%)
rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (43%)
--
2.1.4
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 1/7] ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
The change simplifies layout of EA3250 board description by
referencing device nodes of LPC32xx controllers by label.
No functional change intended.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/ea3250.dts | 226 +++++++++++++++++++++----------------------
1 file changed, 110 insertions(+), 116 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index a4a281f..7cf815a 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -25,119 +25,6 @@
reg = <0x80000000 0x4000000>;
};
- ahb {
- mac: ethernet@31060000 {
- phy-mode = "rmii";
- use-iram;
- };
-
- /* 128MB Flash via SLC NAND controller */
- slc: flash@20020000 {
- status = "okay";
- #address-cells = <1>;
- #size-cells = <1>;
-
- nxp,wdr-clks = <14>;
- nxp,wwidth = <260000000>;
- nxp,whold = <104000000>;
- nxp,wsetup = <200000000>;
- nxp,rdr-clks = <14>;
- nxp,rwidth = <34666666>;
- nxp,rhold = <104000000>;
- nxp,rsetup = <200000000>;
- nand-on-flash-bbt;
- gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
-
- mtd0@00000000 {
- label = "ea3250-boot";
- reg = <0x00000000 0x00080000>;
- read-only;
- };
-
- mtd1@00080000 {
- label = "ea3250-uboot";
- reg = <0x00080000 0x000c0000>;
- read-only;
- };
-
- mtd2@00140000 {
- label = "ea3250-kernel";
- reg = <0x00140000 0x00400000>;
- };
-
- mtd3@00540000 {
- label = "ea3250-rootfs";
- reg = <0x00540000 0x07ac0000>;
- };
- };
-
- apb {
- uart5: serial@40090000 {
- status = "okay";
- };
-
- uart3: serial@40080000 {
- status = "okay";
- };
-
- uart6: serial@40098000 {
- status = "okay";
- };
-
- i2c1: i2c@400A0000 {
- clock-frequency = <100000>;
-
- eeprom@50 {
- compatible = "at,24c256";
- reg = <0x50>;
- };
-
- eeprom@57 {
- compatible = "at,24c64";
- reg = <0x57>;
- };
-
- uda1380: uda1380@18 {
- compatible = "nxp,uda1380";
- reg = <0x18>;
- power-gpio = <&gpio 0x59 0>;
- reset-gpio = <&gpio 0x51 0>;
- dac-clk = "wspll";
- };
-
- pca9532: pca9532@60 {
- compatible = "nxp,pca9532";
- gpio-controller;
- #gpio-cells = <2>;
- reg = <0x60>;
- };
- };
-
- i2c2: i2c@400A8000 {
- clock-frequency = <100000>;
- };
-
- sd@20098000 {
- wp-gpios = <&pca9532 5 0>;
- cd-gpios = <&pca9532 4 0>;
- cd-inverted;
- bus-width = <4>;
- status = "okay";
- };
- };
-
- fab {
- uart1: serial@40014000 {
- status = "okay";
- };
-
- /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
- adc@40048000 {
- status = "okay";
- };
- };
- };
-
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
@@ -258,12 +145,44 @@
};
};
-/* Here, choose exactly one from: ohci, usbd */
-&ohci /* &usbd */ {
- transceiver = <&isp1301>;
+/* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
+&adc {
status = "okay";
};
+&i2c1 {
+ clock-frequency = <100000>;
+
+ uda1380: uda1380@18 {
+ compatible = "nxp,uda1380";
+ reg = <0x18>;
+ power-gpio = <&gpio 0x59 0>;
+ reset-gpio = <&gpio 0x51 0>;
+ dac-clk = "wspll";
+ };
+
+ eeprom@50 {
+ compatible = "at,24c256";
+ reg = <0x50>;
+ };
+
+ eeprom@57 {
+ compatible = "at,24c64";
+ reg = <0x57>;
+ };
+
+ pca9532: pca9532@60 {
+ compatible = "nxp,pca9532";
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x60>;
+ };
+};
+
+&i2c2 {
+ clock-frequency = <100000>;
+};
+
&i2cusb {
clock-frequency = <100000>;
@@ -272,3 +191,78 @@
reg = <0x2d>;
};
};
+
+&mac {
+ phy-mode = "rmii";
+ use-iram;
+};
+
+/* Here, choose exactly one from: ohci, usbd */
+&ohci /* &usbd */ {
+ transceiver = <&isp1301>;
+ status = "okay";
+};
+
+&sd {
+ wp-gpios = <&pca9532 5 0>;
+ cd-gpios = <&pca9532 4 0>;
+ cd-inverted;
+ bus-width = <4>;
+ status = "okay";
+};
+
+/* 128MB Flash via SLC NAND controller */
+&slc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "okay";
+
+ nxp,wdr-clks = <14>;
+ nxp,wwidth = <260000000>;
+ nxp,whold = <104000000>;
+ nxp,wsetup = <200000000>;
+ nxp,rdr-clks = <14>;
+ nxp,rwidth = <34666666>;
+ nxp,rhold = <104000000>;
+ nxp,rsetup = <200000000>;
+ nand-on-flash-bbt;
+ gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
+
+ mtd0@00000000 {
+ label = "ea3250-boot";
+ reg = <0x00000000 0x00080000>;
+ read-only;
+ };
+
+ mtd1@00080000 {
+ label = "ea3250-uboot";
+ reg = <0x00080000 0x000c0000>;
+ read-only;
+ };
+
+ mtd2@00140000 {
+ label = "ea3250-kernel";
+ reg = <0x00140000 0x00400000>;
+ };
+
+ mtd3@00540000 {
+ label = "ea3250-rootfs";
+ reg = <0x00540000 0x07ac0000>;
+ };
+};
+
+&uart1 {
+ status = "okay";
+};
+
+&uart3 {
+ status = "okay";
+};
+
+&uart5 {
+ status = "okay";
+};
+
+&uart6 {
+ status = "okay";
+};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 1/7] ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
The change simplifies layout of EA3250 board description by
referencing device nodes of LPC32xx controllers by label.
No functional change intended.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/ea3250.dts | 226 +++++++++++++++++++++----------------------
1 file changed, 110 insertions(+), 116 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index a4a281f..7cf815a 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -25,119 +25,6 @@
reg = <0x80000000 0x4000000>;
};
- ahb {
- mac: ethernet at 31060000 {
- phy-mode = "rmii";
- use-iram;
- };
-
- /* 128MB Flash via SLC NAND controller */
- slc: flash at 20020000 {
- status = "okay";
- #address-cells = <1>;
- #size-cells = <1>;
-
- nxp,wdr-clks = <14>;
- nxp,wwidth = <260000000>;
- nxp,whold = <104000000>;
- nxp,wsetup = <200000000>;
- nxp,rdr-clks = <14>;
- nxp,rwidth = <34666666>;
- nxp,rhold = <104000000>;
- nxp,rsetup = <200000000>;
- nand-on-flash-bbt;
- gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
-
- mtd0 at 00000000 {
- label = "ea3250-boot";
- reg = <0x00000000 0x00080000>;
- read-only;
- };
-
- mtd1 at 00080000 {
- label = "ea3250-uboot";
- reg = <0x00080000 0x000c0000>;
- read-only;
- };
-
- mtd2 at 00140000 {
- label = "ea3250-kernel";
- reg = <0x00140000 0x00400000>;
- };
-
- mtd3 at 00540000 {
- label = "ea3250-rootfs";
- reg = <0x00540000 0x07ac0000>;
- };
- };
-
- apb {
- uart5: serial at 40090000 {
- status = "okay";
- };
-
- uart3: serial at 40080000 {
- status = "okay";
- };
-
- uart6: serial at 40098000 {
- status = "okay";
- };
-
- i2c1: i2c at 400A0000 {
- clock-frequency = <100000>;
-
- eeprom at 50 {
- compatible = "at,24c256";
- reg = <0x50>;
- };
-
- eeprom at 57 {
- compatible = "at,24c64";
- reg = <0x57>;
- };
-
- uda1380: uda1380 at 18 {
- compatible = "nxp,uda1380";
- reg = <0x18>;
- power-gpio = <&gpio 0x59 0>;
- reset-gpio = <&gpio 0x51 0>;
- dac-clk = "wspll";
- };
-
- pca9532: pca9532 at 60 {
- compatible = "nxp,pca9532";
- gpio-controller;
- #gpio-cells = <2>;
- reg = <0x60>;
- };
- };
-
- i2c2: i2c at 400A8000 {
- clock-frequency = <100000>;
- };
-
- sd at 20098000 {
- wp-gpios = <&pca9532 5 0>;
- cd-gpios = <&pca9532 4 0>;
- cd-inverted;
- bus-width = <4>;
- status = "okay";
- };
- };
-
- fab {
- uart1: serial at 40014000 {
- status = "okay";
- };
-
- /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
- adc at 40048000 {
- status = "okay";
- };
- };
- };
-
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
@@ -258,12 +145,44 @@
};
};
-/* Here, choose exactly one from: ohci, usbd */
-&ohci /* &usbd */ {
- transceiver = <&isp1301>;
+/* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
+&adc {
status = "okay";
};
+&i2c1 {
+ clock-frequency = <100000>;
+
+ uda1380: uda1380 at 18 {
+ compatible = "nxp,uda1380";
+ reg = <0x18>;
+ power-gpio = <&gpio 0x59 0>;
+ reset-gpio = <&gpio 0x51 0>;
+ dac-clk = "wspll";
+ };
+
+ eeprom at 50 {
+ compatible = "at,24c256";
+ reg = <0x50>;
+ };
+
+ eeprom at 57 {
+ compatible = "at,24c64";
+ reg = <0x57>;
+ };
+
+ pca9532: pca9532 at 60 {
+ compatible = "nxp,pca9532";
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x60>;
+ };
+};
+
+&i2c2 {
+ clock-frequency = <100000>;
+};
+
&i2cusb {
clock-frequency = <100000>;
@@ -272,3 +191,78 @@
reg = <0x2d>;
};
};
+
+&mac {
+ phy-mode = "rmii";
+ use-iram;
+};
+
+/* Here, choose exactly one from: ohci, usbd */
+&ohci /* &usbd */ {
+ transceiver = <&isp1301>;
+ status = "okay";
+};
+
+&sd {
+ wp-gpios = <&pca9532 5 0>;
+ cd-gpios = <&pca9532 4 0>;
+ cd-inverted;
+ bus-width = <4>;
+ status = "okay";
+};
+
+/* 128MB Flash via SLC NAND controller */
+&slc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "okay";
+
+ nxp,wdr-clks = <14>;
+ nxp,wwidth = <260000000>;
+ nxp,whold = <104000000>;
+ nxp,wsetup = <200000000>;
+ nxp,rdr-clks = <14>;
+ nxp,rwidth = <34666666>;
+ nxp,rhold = <104000000>;
+ nxp,rsetup = <200000000>;
+ nand-on-flash-bbt;
+ gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
+
+ mtd0 at 00000000 {
+ label = "ea3250-boot";
+ reg = <0x00000000 0x00080000>;
+ read-only;
+ };
+
+ mtd1 at 00080000 {
+ label = "ea3250-uboot";
+ reg = <0x00080000 0x000c0000>;
+ read-only;
+ };
+
+ mtd2 at 00140000 {
+ label = "ea3250-kernel";
+ reg = <0x00140000 0x00400000>;
+ };
+
+ mtd3 at 00540000 {
+ label = "ea3250-rootfs";
+ reg = <0x00540000 0x07ac0000>;
+ };
+};
+
+&uart1 {
+ status = "okay";
+};
+
+&uart3 {
+ status = "okay";
+};
+
+&uart5 {
+ status = "okay";
+};
+
+&uart6 {
+ status = "okay";
+};
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
To declare MTD OF partitions NAND controller device node should have
a special 'partitions' subnode, the change removes a debug message
from mtd/ofpart on boot:
nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash@20020000.
Trying to parse direct subnodes as partitions.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index 7cf815a..58bcda9 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -213,8 +213,6 @@
/* 128MB Flash via SLC NAND controller */
&slc {
- #address-cells = <1>;
- #size-cells = <1>;
status = "okay";
nxp,wdr-clks = <14>;
@@ -228,26 +226,31 @@
nand-on-flash-bbt;
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
- mtd0@00000000 {
- label = "ea3250-boot";
- reg = <0x00000000 0x00080000>;
- read-only;
- };
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
- mtd1@00080000 {
- label = "ea3250-uboot";
- reg = <0x00080000 0x000c0000>;
- read-only;
- };
+ mtd0@00000000 {
+ label = "ea3250-boot";
+ reg = <0x00000000 0x00080000>;
+ read-only;
+ };
- mtd2@00140000 {
- label = "ea3250-kernel";
- reg = <0x00140000 0x00400000>;
- };
+ mtd1@00080000 {
+ label = "ea3250-uboot";
+ reg = <0x00080000 0x000c0000>;
+ read-only;
+ };
- mtd3@00540000 {
- label = "ea3250-rootfs";
- reg = <0x00540000 0x07ac0000>;
+ mtd2@00140000 {
+ label = "ea3250-kernel";
+ reg = <0x00140000 0x00400000>;
+ };
+
+ mtd3@00540000 {
+ label = "ea3250-rootfs";
+ reg = <0x00540000 0x07ac0000>;
+ };
};
};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
To declare MTD OF partitions NAND controller device node should have
a special 'partitions' subnode, the change removes a debug message
from mtd/ofpart on boot:
nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash at 20020000.
Trying to parse direct subnodes as partitions.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index 7cf815a..58bcda9 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -213,8 +213,6 @@
/* 128MB Flash via SLC NAND controller */
&slc {
- #address-cells = <1>;
- #size-cells = <1>;
status = "okay";
nxp,wdr-clks = <14>;
@@ -228,26 +226,31 @@
nand-on-flash-bbt;
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
- mtd0 at 00000000 {
- label = "ea3250-boot";
- reg = <0x00000000 0x00080000>;
- read-only;
- };
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
- mtd1 at 00080000 {
- label = "ea3250-uboot";
- reg = <0x00080000 0x000c0000>;
- read-only;
- };
+ mtd0 at 00000000 {
+ label = "ea3250-boot";
+ reg = <0x00000000 0x00080000>;
+ read-only;
+ };
- mtd2 at 00140000 {
- label = "ea3250-kernel";
- reg = <0x00140000 0x00400000>;
- };
+ mtd1 at 00080000 {
+ label = "ea3250-uboot";
+ reg = <0x00080000 0x000c0000>;
+ read-only;
+ };
- mtd3 at 00540000 {
- label = "ea3250-rootfs";
- reg = <0x00540000 0x07ac0000>;
+ mtd2 at 00140000 {
+ label = "ea3250-kernel";
+ reg = <0x00140000 0x00400000>;
+ };
+
+ mtd3 at 00540000 {
+ label = "ea3250-rootfs";
+ reg = <0x00540000 0x07ac0000>;
+ };
};
};
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 3/7] ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
There is no 'at' hardware vendor defined yet, correct vendor prefix
for Atmel is 'atmel'.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/ea3250.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index 58bcda9..12e78c6 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -162,12 +162,12 @@
};
eeprom@50 {
- compatible = "at,24c256";
+ compatible = "atmel,24c256";
reg = <0x50>;
};
eeprom@57 {
- compatible = "at,24c64";
+ compatible = "atmel,24c64";
reg = <0x57>;
};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 3/7] ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
There is no 'at' hardware vendor defined yet, correct vendor prefix
for Atmel is 'atmel'.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/ea3250.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
index 58bcda9..12e78c6 100644
--- a/arch/arm/boot/dts/ea3250.dts
+++ b/arch/arm/boot/dts/ea3250.dts
@@ -162,12 +162,12 @@
};
eeprom at 50 {
- compatible = "at,24c256";
+ compatible = "atmel,24c256";
reg = <0x50>;
};
eeprom at 57 {
- compatible = "at,24c64";
+ compatible = "atmel,24c64";
reg = <0x57>;
};
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 4/7] ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
To simplify matching of DTS files of all NXP LPC32xx powered boards by
a file name add 'lpc3250' prefix to Embedded Artists LPC3250 board dts
file.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 3 ++-
arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 0
2 files changed, 2 insertions(+), 1 deletion(-)
rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (100%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 95c1923..9f8b14f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -241,7 +241,8 @@ dtb-$(CONFIG_ARCH_LPC18XX) += \
lpc4350-hitex-eval.dtb \
lpc4357-ea4357-devkit.dtb
dtb-$(CONFIG_ARCH_LPC32XX) += \
- ea3250.dtb phy3250.dtb
+ lpc3250-ea3250.dtb \
+ phy3250.dtb
dtb-$(CONFIG_MACH_MESON6) += \
meson6-atv1200.dtb
dtb-$(CONFIG_MACH_MESON8) += \
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/lpc3250-ea3250.dts
similarity index 100%
rename from arch/arm/boot/dts/ea3250.dts
rename to arch/arm/boot/dts/lpc3250-ea3250.dts
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 4/7] ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
To simplify matching of DTS files of all NXP LPC32xx powered boards by
a file name add 'lpc3250' prefix to Embedded Artists LPC3250 board dts
file.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/Makefile | 3 ++-
arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 0
2 files changed, 2 insertions(+), 1 deletion(-)
rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (100%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 95c1923..9f8b14f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -241,7 +241,8 @@ dtb-$(CONFIG_ARCH_LPC18XX) += \
lpc4350-hitex-eval.dtb \
lpc4357-ea4357-devkit.dtb
dtb-$(CONFIG_ARCH_LPC32XX) += \
- ea3250.dtb phy3250.dtb
+ lpc3250-ea3250.dtb \
+ phy3250.dtb
dtb-$(CONFIG_MACH_MESON6) += \
meson6-atv1200.dtb
dtb-$(CONFIG_MACH_MESON8) += \
diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/lpc3250-ea3250.dts
similarity index 100%
rename from arch/arm/boot/dts/ea3250.dts
rename to arch/arm/boot/dts/lpc3250-ea3250.dts
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 5/7] ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
The change simplifies layout of PHY3250 board description by
referencing device nodes of LPC32xx controllers by label.
No functional change intended.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/phy3250.dts | 282 +++++++++++++++++++++---------------------
1 file changed, 138 insertions(+), 144 deletions(-)
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/phy3250.dts
index 26e070f..c1a6e62 100644
--- a/arch/arm/boot/dts/phy3250.dts
+++ b/arch/arm/boot/dts/phy3250.dts
@@ -56,147 +56,6 @@
};
};
- ahb {
- mac: ethernet@31060000 {
- phy-mode = "rmii";
- use-iram;
- };
-
- clcd@31040000 {
- status = "okay";
- };
-
- /* 64MB Flash via SLC NAND controller */
- slc: flash@20020000 {
- status = "okay";
- #address-cells = <1>;
- #size-cells = <1>;
-
- nxp,wdr-clks = <14>;
- nxp,wwidth = <40000000>;
- nxp,whold = <100000000>;
- nxp,wsetup = <100000000>;
- nxp,rdr-clks = <14>;
- nxp,rwidth = <40000000>;
- nxp,rhold = <66666666>;
- nxp,rsetup = <100000000>;
- nand-on-flash-bbt;
- gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
-
- mtd0@00000000 {
- label = "phy3250-boot";
- reg = <0x00000000 0x00064000>;
- read-only;
- };
-
- mtd1@00064000 {
- label = "phy3250-uboot";
- reg = <0x00064000 0x00190000>;
- read-only;
- };
-
- mtd2@001f4000 {
- label = "phy3250-ubt-prms";
- reg = <0x001f4000 0x00010000>;
- };
-
- mtd3@00204000 {
- label = "phy3250-kernel";
- reg = <0x00204000 0x00400000>;
- };
-
- mtd4@00604000 {
- label = "phy3250-rootfs";
- reg = <0x00604000 0x039fc000>;
- };
- };
-
- apb {
- uart5: serial@40090000 {
- status = "okay";
- };
-
- uart3: serial@40080000 {
- status = "okay";
- };
-
- i2c1: i2c@400A0000 {
- clock-frequency = <100000>;
-
- pcf8563: rtc@51 {
- compatible = "nxp,pcf8563";
- reg = <0x51>;
- };
-
- uda1380: uda1380@18 {
- compatible = "nxp,uda1380";
- reg = <0x18>;
- power-gpio = <&gpio 0x59 0>;
- reset-gpio = <&gpio 0x51 0>;
- dac-clk = "wspll";
- };
- };
-
- i2c2: i2c@400A8000 {
- clock-frequency = <100000>;
- };
-
- ssp0: ssp@20084000 {
- #address-cells = <1>;
- #size-cells = <0>;
- num-cs = <1>;
- cs-gpios = <&gpio 3 5 0>;
- status = "okay";
-
- eeprom: at25@0 {
- pl022,interface = <0>;
- pl022,com-mode = <0>;
- pl022,rx-level-trig = <1>;
- pl022,tx-level-trig = <1>;
- pl022,ctrl-len = <11>;
- pl022,wait-state = <0>;
- pl022,duplex = <0>;
-
- at25,byte-len = <0x8000>;
- at25,addr-mode = <2>;
- at25,page-size = <64>;
-
- compatible = "atmel,at25";
- reg = <0>;
- spi-max-frequency = <5000000>;
- };
- };
-
- sd@20098000 {
- wp-gpios = <&gpio 3 0 0>;
- cd-gpios = <&gpio 3 1 0>;
- cd-inverted;
- bus-width = <4>;
- vmmc-supply = <&sd_reg>;
- status = "okay";
- };
- };
-
- fab {
- uart2: serial@40018000 {
- status = "okay";
- };
-
- tsc@40048000 {
- status = "okay";
- };
-
- key@40050000 {
- status = "okay";
- keypad,num-rows = <1>;
- keypad,num-columns = <1>;
- nxp,debounce-delay-ms = <3>;
- nxp,scan-delay-ms = <34>;
- linux,keymap = <0x00000002>;
- };
- };
- };
-
leds {
compatible = "gpio-leds";
@@ -212,12 +71,31 @@
};
};
-/* Here, choose exactly one from: ohci, usbd */
-&ohci /* &usbd */ {
- transceiver = <&isp1301>;
+&clcd {
status = "okay";
};
+&i2c1 {
+ clock-frequency = <100000>;
+
+ uda1380: uda1380@18 {
+ compatible = "nxp,uda1380";
+ reg = <0x18>;
+ power-gpio = <&gpio 0x59 0>;
+ reset-gpio = <&gpio 0x51 0>;
+ dac-clk = "wspll";
+ };
+
+ pcf8563: rtc@51 {
+ compatible = "nxp,pcf8563";
+ reg = <0x51>;
+ };
+};
+
+&i2c2 {
+ clock-frequency = <100000>;
+};
+
&i2cusb {
clock-frequency = <100000>;
@@ -226,3 +104,119 @@
reg = <0x2c>;
};
};
+
+&key {
+ keypad,num-rows = <1>;
+ keypad,num-columns = <1>;
+ nxp,debounce-delay-ms = <3>;
+ nxp,scan-delay-ms = <34>;
+ linux,keymap = <0x00000002>;
+ status = "okay";
+};
+
+&mac {
+ phy-mode = "rmii";
+ use-iram;
+};
+
+/* Here, choose exactly one from: ohci, usbd */
+&ohci /* &usbd */ {
+ transceiver = <&isp1301>;
+ status = "okay";
+};
+
+&sd {
+ wp-gpios = <&gpio 3 0 0>;
+ cd-gpios = <&gpio 3 1 0>;
+ cd-inverted;
+ bus-width = <4>;
+ vmmc-supply = <&sd_reg>;
+ status = "okay";
+};
+
+/* 64MB Flash via SLC NAND controller */
+&slc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "okay";
+
+ nxp,wdr-clks = <14>;
+ nxp,wwidth = <40000000>;
+ nxp,whold = <100000000>;
+ nxp,wsetup = <100000000>;
+ nxp,rdr-clks = <14>;
+ nxp,rwidth = <40000000>;
+ nxp,rhold = <66666666>;
+ nxp,rsetup = <100000000>;
+ nand-on-flash-bbt;
+ gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
+
+ mtd0@00000000 {
+ label = "phy3250-boot";
+ reg = <0x00000000 0x00064000>;
+ read-only;
+ };
+
+ mtd1@00064000 {
+ label = "phy3250-uboot";
+ reg = <0x00064000 0x00190000>;
+ read-only;
+ };
+
+ mtd2@001f4000 {
+ label = "phy3250-ubt-prms";
+ reg = <0x001f4000 0x00010000>;
+ };
+
+ mtd3@00204000 {
+ label = "phy3250-kernel";
+ reg = <0x00204000 0x00400000>;
+ };
+
+ mtd4@00604000 {
+ label = "phy3250-rootfs";
+ reg = <0x00604000 0x039fc000>;
+ };
+};
+
+&ssp0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ num-cs = <1>;
+ cs-gpios = <&gpio 3 5 0>;
+ status = "okay";
+
+ eeprom: at25@0 {
+ compatible = "atmel,at25";
+ reg = <0>;
+ spi-max-frequency = <5000000>;
+
+ pl022,interface = <0>;
+ pl022,com-mode = <0>;
+ pl022,rx-level-trig = <1>;
+ pl022,tx-level-trig = <1>;
+ pl022,ctrl-len = <11>;
+ pl022,wait-state = <0>;
+ pl022,duplex = <0>;
+
+ at25,byte-len = <0x8000>;
+ at25,addr-mode = <2>;
+ at25,page-size = <64>;
+ };
+};
+
+&tsc {
+ status = "okay";
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&uart3 {
+ status = "okay";
+};
+
+&uart5 {
+ status = "okay";
+};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 5/7] ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
The change simplifies layout of PHY3250 board description by
referencing device nodes of LPC32xx controllers by label.
No functional change intended.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/phy3250.dts | 282 +++++++++++++++++++++---------------------
1 file changed, 138 insertions(+), 144 deletions(-)
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/phy3250.dts
index 26e070f..c1a6e62 100644
--- a/arch/arm/boot/dts/phy3250.dts
+++ b/arch/arm/boot/dts/phy3250.dts
@@ -56,147 +56,6 @@
};
};
- ahb {
- mac: ethernet at 31060000 {
- phy-mode = "rmii";
- use-iram;
- };
-
- clcd at 31040000 {
- status = "okay";
- };
-
- /* 64MB Flash via SLC NAND controller */
- slc: flash at 20020000 {
- status = "okay";
- #address-cells = <1>;
- #size-cells = <1>;
-
- nxp,wdr-clks = <14>;
- nxp,wwidth = <40000000>;
- nxp,whold = <100000000>;
- nxp,wsetup = <100000000>;
- nxp,rdr-clks = <14>;
- nxp,rwidth = <40000000>;
- nxp,rhold = <66666666>;
- nxp,rsetup = <100000000>;
- nand-on-flash-bbt;
- gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
-
- mtd0 at 00000000 {
- label = "phy3250-boot";
- reg = <0x00000000 0x00064000>;
- read-only;
- };
-
- mtd1 at 00064000 {
- label = "phy3250-uboot";
- reg = <0x00064000 0x00190000>;
- read-only;
- };
-
- mtd2 at 001f4000 {
- label = "phy3250-ubt-prms";
- reg = <0x001f4000 0x00010000>;
- };
-
- mtd3 at 00204000 {
- label = "phy3250-kernel";
- reg = <0x00204000 0x00400000>;
- };
-
- mtd4 at 00604000 {
- label = "phy3250-rootfs";
- reg = <0x00604000 0x039fc000>;
- };
- };
-
- apb {
- uart5: serial at 40090000 {
- status = "okay";
- };
-
- uart3: serial at 40080000 {
- status = "okay";
- };
-
- i2c1: i2c at 400A0000 {
- clock-frequency = <100000>;
-
- pcf8563: rtc at 51 {
- compatible = "nxp,pcf8563";
- reg = <0x51>;
- };
-
- uda1380: uda1380 at 18 {
- compatible = "nxp,uda1380";
- reg = <0x18>;
- power-gpio = <&gpio 0x59 0>;
- reset-gpio = <&gpio 0x51 0>;
- dac-clk = "wspll";
- };
- };
-
- i2c2: i2c at 400A8000 {
- clock-frequency = <100000>;
- };
-
- ssp0: ssp at 20084000 {
- #address-cells = <1>;
- #size-cells = <0>;
- num-cs = <1>;
- cs-gpios = <&gpio 3 5 0>;
- status = "okay";
-
- eeprom: at25 at 0 {
- pl022,interface = <0>;
- pl022,com-mode = <0>;
- pl022,rx-level-trig = <1>;
- pl022,tx-level-trig = <1>;
- pl022,ctrl-len = <11>;
- pl022,wait-state = <0>;
- pl022,duplex = <0>;
-
- at25,byte-len = <0x8000>;
- at25,addr-mode = <2>;
- at25,page-size = <64>;
-
- compatible = "atmel,at25";
- reg = <0>;
- spi-max-frequency = <5000000>;
- };
- };
-
- sd at 20098000 {
- wp-gpios = <&gpio 3 0 0>;
- cd-gpios = <&gpio 3 1 0>;
- cd-inverted;
- bus-width = <4>;
- vmmc-supply = <&sd_reg>;
- status = "okay";
- };
- };
-
- fab {
- uart2: serial at 40018000 {
- status = "okay";
- };
-
- tsc at 40048000 {
- status = "okay";
- };
-
- key at 40050000 {
- status = "okay";
- keypad,num-rows = <1>;
- keypad,num-columns = <1>;
- nxp,debounce-delay-ms = <3>;
- nxp,scan-delay-ms = <34>;
- linux,keymap = <0x00000002>;
- };
- };
- };
-
leds {
compatible = "gpio-leds";
@@ -212,12 +71,31 @@
};
};
-/* Here, choose exactly one from: ohci, usbd */
-&ohci /* &usbd */ {
- transceiver = <&isp1301>;
+&clcd {
status = "okay";
};
+&i2c1 {
+ clock-frequency = <100000>;
+
+ uda1380: uda1380 at 18 {
+ compatible = "nxp,uda1380";
+ reg = <0x18>;
+ power-gpio = <&gpio 0x59 0>;
+ reset-gpio = <&gpio 0x51 0>;
+ dac-clk = "wspll";
+ };
+
+ pcf8563: rtc at 51 {
+ compatible = "nxp,pcf8563";
+ reg = <0x51>;
+ };
+};
+
+&i2c2 {
+ clock-frequency = <100000>;
+};
+
&i2cusb {
clock-frequency = <100000>;
@@ -226,3 +104,119 @@
reg = <0x2c>;
};
};
+
+&key {
+ keypad,num-rows = <1>;
+ keypad,num-columns = <1>;
+ nxp,debounce-delay-ms = <3>;
+ nxp,scan-delay-ms = <34>;
+ linux,keymap = <0x00000002>;
+ status = "okay";
+};
+
+&mac {
+ phy-mode = "rmii";
+ use-iram;
+};
+
+/* Here, choose exactly one from: ohci, usbd */
+&ohci /* &usbd */ {
+ transceiver = <&isp1301>;
+ status = "okay";
+};
+
+&sd {
+ wp-gpios = <&gpio 3 0 0>;
+ cd-gpios = <&gpio 3 1 0>;
+ cd-inverted;
+ bus-width = <4>;
+ vmmc-supply = <&sd_reg>;
+ status = "okay";
+};
+
+/* 64MB Flash via SLC NAND controller */
+&slc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "okay";
+
+ nxp,wdr-clks = <14>;
+ nxp,wwidth = <40000000>;
+ nxp,whold = <100000000>;
+ nxp,wsetup = <100000000>;
+ nxp,rdr-clks = <14>;
+ nxp,rwidth = <40000000>;
+ nxp,rhold = <66666666>;
+ nxp,rsetup = <100000000>;
+ nand-on-flash-bbt;
+ gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
+
+ mtd0 at 00000000 {
+ label = "phy3250-boot";
+ reg = <0x00000000 0x00064000>;
+ read-only;
+ };
+
+ mtd1 at 00064000 {
+ label = "phy3250-uboot";
+ reg = <0x00064000 0x00190000>;
+ read-only;
+ };
+
+ mtd2 at 001f4000 {
+ label = "phy3250-ubt-prms";
+ reg = <0x001f4000 0x00010000>;
+ };
+
+ mtd3 at 00204000 {
+ label = "phy3250-kernel";
+ reg = <0x00204000 0x00400000>;
+ };
+
+ mtd4 at 00604000 {
+ label = "phy3250-rootfs";
+ reg = <0x00604000 0x039fc000>;
+ };
+};
+
+&ssp0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ num-cs = <1>;
+ cs-gpios = <&gpio 3 5 0>;
+ status = "okay";
+
+ eeprom: at25 at 0 {
+ compatible = "atmel,at25";
+ reg = <0>;
+ spi-max-frequency = <5000000>;
+
+ pl022,interface = <0>;
+ pl022,com-mode = <0>;
+ pl022,rx-level-trig = <1>;
+ pl022,tx-level-trig = <1>;
+ pl022,ctrl-len = <11>;
+ pl022,wait-state = <0>;
+ pl022,duplex = <0>;
+
+ at25,byte-len = <0x8000>;
+ at25,addr-mode = <2>;
+ at25,page-size = <64>;
+ };
+};
+
+&tsc {
+ status = "okay";
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&uart3 {
+ status = "okay";
+};
+
+&uart5 {
+ status = "okay";
+};
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 6/7] ARM: dts: lpc32xx: phy3250: add NAND partitions device node
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
To declare MTD OF partitions NAND controller device node should have
a special 'partitions' subnode, the change removes a debug message
from mtd/ofpart on boot:
nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash@20020000.
Trying to parse direct subnodes as partitions.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/phy3250.dts | 49 +++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/phy3250.dts
index c1a6e62..ca9870f 100644
--- a/arch/arm/boot/dts/phy3250.dts
+++ b/arch/arm/boot/dts/phy3250.dts
@@ -136,8 +136,6 @@
/* 64MB Flash via SLC NAND controller */
&slc {
- #address-cells = <1>;
- #size-cells = <1>;
status = "okay";
nxp,wdr-clks = <14>;
@@ -151,31 +149,36 @@
nand-on-flash-bbt;
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
- mtd0@00000000 {
- label = "phy3250-boot";
- reg = <0x00000000 0x00064000>;
- read-only;
- };
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
- mtd1@00064000 {
- label = "phy3250-uboot";
- reg = <0x00064000 0x00190000>;
- read-only;
- };
+ mtd0@00000000 {
+ label = "phy3250-boot";
+ reg = <0x00000000 0x00064000>;
+ read-only;
+ };
- mtd2@001f4000 {
- label = "phy3250-ubt-prms";
- reg = <0x001f4000 0x00010000>;
- };
+ mtd1@00064000 {
+ label = "phy3250-uboot";
+ reg = <0x00064000 0x00190000>;
+ read-only;
+ };
- mtd3@00204000 {
- label = "phy3250-kernel";
- reg = <0x00204000 0x00400000>;
- };
+ mtd2@001f4000 {
+ label = "phy3250-ubt-prms";
+ reg = <0x001f4000 0x00010000>;
+ };
- mtd4@00604000 {
- label = "phy3250-rootfs";
- reg = <0x00604000 0x039fc000>;
+ mtd3@00204000 {
+ label = "phy3250-kernel";
+ reg = <0x00204000 0x00400000>;
+ };
+
+ mtd4@00604000 {
+ label = "phy3250-rootfs";
+ reg = <0x00604000 0x039fc000>;
+ };
};
};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 6/7] ARM: dts: lpc32xx: phy3250: add NAND partitions device node
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
To declare MTD OF partitions NAND controller device node should have
a special 'partitions' subnode, the change removes a debug message
from mtd/ofpart on boot:
nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash at 20020000.
Trying to parse direct subnodes as partitions.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/phy3250.dts | 49 +++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/phy3250.dts
index c1a6e62..ca9870f 100644
--- a/arch/arm/boot/dts/phy3250.dts
+++ b/arch/arm/boot/dts/phy3250.dts
@@ -136,8 +136,6 @@
/* 64MB Flash via SLC NAND controller */
&slc {
- #address-cells = <1>;
- #size-cells = <1>;
status = "okay";
nxp,wdr-clks = <14>;
@@ -151,31 +149,36 @@
nand-on-flash-bbt;
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
- mtd0 at 00000000 {
- label = "phy3250-boot";
- reg = <0x00000000 0x00064000>;
- read-only;
- };
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
- mtd1 at 00064000 {
- label = "phy3250-uboot";
- reg = <0x00064000 0x00190000>;
- read-only;
- };
+ mtd0 at 00000000 {
+ label = "phy3250-boot";
+ reg = <0x00000000 0x00064000>;
+ read-only;
+ };
- mtd2 at 001f4000 {
- label = "phy3250-ubt-prms";
- reg = <0x001f4000 0x00010000>;
- };
+ mtd1 at 00064000 {
+ label = "phy3250-uboot";
+ reg = <0x00064000 0x00190000>;
+ read-only;
+ };
- mtd3 at 00204000 {
- label = "phy3250-kernel";
- reg = <0x00204000 0x00400000>;
- };
+ mtd2 at 001f4000 {
+ label = "phy3250-ubt-prms";
+ reg = <0x001f4000 0x00010000>;
+ };
- mtd4 at 00604000 {
- label = "phy3250-rootfs";
- reg = <0x00604000 0x039fc000>;
+ mtd3 at 00204000 {
+ label = "phy3250-kernel";
+ reg = <0x00204000 0x00400000>;
+ };
+
+ mtd4 at 00604000 {
+ label = "phy3250-rootfs";
+ reg = <0x00604000 0x039fc000>;
+ };
};
};
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 7/7] ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: Rob Herring, Pawel Moll, Mark Rutland, Sylvain Lemieux, Russell King
Cc: Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
To simplify matching of DTS files of all NXP LPC32xx powered boards by
a file name add 'lpc3250' prefix to PHYTEC PHYCORE-LPC3250 board dts
file.
Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (100%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 9f8b14f..4733ec9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -242,7 +242,7 @@ dtb-$(CONFIG_ARCH_LPC18XX) += \
lpc4357-ea4357-devkit.dtb
dtb-$(CONFIG_ARCH_LPC32XX) += \
lpc3250-ea3250.dtb \
- phy3250.dtb
+ lpc3250-phy3250.dtb
dtb-$(CONFIG_MACH_MESON6) += \
meson6-atv1200.dtb
dtb-$(CONFIG_MACH_MESON8) += \
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/lpc3250-phy3250.dts
similarity index 100%
rename from arch/arm/boot/dts/phy3250.dts
rename to arch/arm/boot/dts/lpc3250-phy3250.dts
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 7/7] ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
@ 2016-04-26 0:37 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 0:37 UTC (permalink / raw)
To: linux-arm-kernel
To simplify matching of DTS files of all NXP LPC32xx powered boards by
a file name add 'lpc3250' prefix to PHYTEC PHYCORE-LPC3250 board dts
file.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (100%)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 9f8b14f..4733ec9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -242,7 +242,7 @@ dtb-$(CONFIG_ARCH_LPC18XX) += \
lpc4357-ea4357-devkit.dtb
dtb-$(CONFIG_ARCH_LPC32XX) += \
lpc3250-ea3250.dtb \
- phy3250.dtb
+ lpc3250-phy3250.dtb
dtb-$(CONFIG_MACH_MESON6) += \
meson6-atv1200.dtb
dtb-$(CONFIG_MACH_MESON8) += \
diff --git a/arch/arm/boot/dts/phy3250.dts b/arch/arm/boot/dts/lpc3250-phy3250.dts
similarity index 100%
rename from arch/arm/boot/dts/phy3250.dts
rename to arch/arm/boot/dts/lpc3250-phy3250.dts
--
2.1.4
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH 4/7] ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 15:36 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:36 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To simplify matching of DTS files of all NXP LPC32xx powered boards by
> a file name add 'lpc3250' prefix to Embedded Artists LPC3250 board dts
> file.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/Makefile | 3 ++-
> arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 0
> 2 files changed, 2 insertions(+), 1 deletion(-)
> rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (100%)
>
Acked-by: Sylvain Lemieux <slemieux.tyco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 4/7] ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file
@ 2016-04-26 15:36 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:36 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To simplify matching of DTS files of all NXP LPC32xx powered boards by
> a file name add 'lpc3250' prefix to Embedded Artists LPC3250 board dts
> file.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/Makefile | 3 ++-
> arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} | 0
> 2 files changed, 2 insertions(+), 1 deletion(-)
> rename arch/arm/boot/dts/{ea3250.dts => lpc3250-ea3250.dts} (100%)
>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 7/7] ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 15:37 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:37 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To simplify matching of DTS files of all NXP LPC32xx powered boards by
> a file name add 'lpc3250' prefix to PHYTEC PHYCORE-LPC3250 board dts
> file.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/Makefile | 2 +-
> arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (100%)
>
Acked-by: Sylvain Lemieux <slemieux.tyco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 7/7] ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file
@ 2016-04-26 15:37 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:37 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To simplify matching of DTS files of all NXP LPC32xx powered boards by
> a file name add 'lpc3250' prefix to PHYTEC PHYCORE-LPC3250 board dts
> file.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/Makefile | 2 +-
> arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename arch/arm/boot/dts/{phy3250.dts => lpc3250-phy3250.dts} (100%)
>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 3/7] ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 15:41 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:41 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> There is no 'at' hardware vendor defined yet, correct vendor prefix
> for Atmel is 'atmel'.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/ea3250.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 3/7] ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor
@ 2016-04-26 15:41 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:41 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> There is no 'at' hardware vendor defined yet, correct vendor prefix
> for Atmel is 'atmel'.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/ea3250.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/7] ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 15:45 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:45 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> The change simplifies layout of EA3250 board description by
> referencing device nodes of LPC32xx controllers by label.
>
> No functional change intended.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/ea3250.dts | 226 +++++++++++++++++++++----------------------
> 1 file changed, 110 insertions(+), 116 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 1/7] ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path
@ 2016-04-26 15:45 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:45 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> The change simplifies layout of EA3250 board description by
> referencing device nodes of LPC32xx controllers by label.
>
> No functional change intended.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/ea3250.dts | 226 +++++++++++++++++++++----------------------
> 1 file changed, 110 insertions(+), 116 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 5/7] ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 15:46 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:46 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> The change simplifies layout of PHY3250 board description by
> referencing device nodes of LPC32xx controllers by label.
>
> No functional change intended.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/phy3250.dts | 282 +++++++++++++++++++++---------------------
> 1 file changed, 138 insertions(+), 144 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 5/7] ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path
@ 2016-04-26 15:46 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 15:46 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> The change simplifies layout of PHY3250 board description by
> referencing device nodes of LPC32xx controllers by label.
>
> No functional change intended.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/phy3250.dts | 282 +++++++++++++++++++++---------------------
> 1 file changed, 138 insertions(+), 144 deletions(-)
>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
2016-04-26 0:37 ` Vladimir Zapolskiy
@ 2016-04-26 16:58 ` Sylvain Lemieux
-1 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 16:58 UTC (permalink / raw)
To: Vladimir Zapolskiy
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi Vladimir,
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To declare MTD OF partitions NAND controller device node should have
> a special 'partitions' subnode, the change removes a debug message
> from mtd/ofpart on boot:
>
> nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash@20020000.
> Trying to parse direct subnodes as partitions.
>
> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
> 1 file changed, 22 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
> index 7cf815a..58bcda9 100644
> --- a/arch/arm/boot/dts/ea3250.dts
> +++ b/arch/arm/boot/dts/ea3250.dts
> @@ -213,8 +213,6 @@
>
> /* 128MB Flash via SLC NAND controller */
> &slc {
> - #address-cells = <1>;
> - #size-cells = <1>;
> status = "okay";
>
> nxp,wdr-clks = <14>;
> @@ -228,26 +226,31 @@
> nand-on-flash-bbt;
> gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
>
> - mtd0@00000000 {
> - label = "ea3250-boot";
> - reg = <0x00000000 0x00080000>;
> - read-only;
> - };
> + partitions {
You may want to add the compatible property to the partitions here:
+ compatible = "fixed-partitions";
Refer to commit e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381 for details.
This suggestion is also valid for patch #6.
Note:
This change was required to use the "partitions" subnode
on my custom LPC3250 board definition.
> + #address-cells = <1>;
> + #size-cells = <1>;
>
...
Sylvain
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
@ 2016-04-26 16:58 ` Sylvain Lemieux
0 siblings, 0 replies; 30+ messages in thread
From: Sylvain Lemieux @ 2016-04-26 16:58 UTC (permalink / raw)
To: linux-arm-kernel
Hi Vladimir,
On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
> To declare MTD OF partitions NAND controller device node should have
> a special 'partitions' subnode, the change removes a debug message
> from mtd/ofpart on boot:
>
> nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash at 20020000.
> Trying to parse direct subnodes as partitions.
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
> ---
> arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
> 1 file changed, 22 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
> index 7cf815a..58bcda9 100644
> --- a/arch/arm/boot/dts/ea3250.dts
> +++ b/arch/arm/boot/dts/ea3250.dts
> @@ -213,8 +213,6 @@
>
> /* 128MB Flash via SLC NAND controller */
> &slc {
> - #address-cells = <1>;
> - #size-cells = <1>;
> status = "okay";
>
> nxp,wdr-clks = <14>;
> @@ -228,26 +226,31 @@
> nand-on-flash-bbt;
> gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
>
> - mtd0 at 00000000 {
> - label = "ea3250-boot";
> - reg = <0x00000000 0x00080000>;
> - read-only;
> - };
> + partitions {
You may want to add the compatible property to the partitions here:
+ compatible = "fixed-partitions";
Refer to commit e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381 for details.
This suggestion is also valid for patch #6.
Note:
This change was required to use the "partitions" subnode
on my custom LPC3250 board definition.
> + #address-cells = <1>;
> + #size-cells = <1>;
>
...
Sylvain
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
2016-04-26 16:58 ` Sylvain Lemieux
@ 2016-04-26 18:36 ` Vladimir Zapolskiy
-1 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 18:36 UTC (permalink / raw)
To: Sylvain Lemieux
Cc: Rob Herring, Pawel Moll, Mark Rutland, Russell King,
Arnd Bergmann, Roland Stigge, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi Sylvain,
On 26.04.2016 19:58, Sylvain Lemieux wrote:
> Hi Vladimir,
>
> On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
>> To declare MTD OF partitions NAND controller device node should have
>> a special 'partitions' subnode, the change removes a debug message
>> from mtd/ofpart on boot:
>>
>> nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash@20020000.
>> Trying to parse direct subnodes as partitions.
>>
>> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
>> ---
>> arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
>> 1 file changed, 22 insertions(+), 19 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
>> index 7cf815a..58bcda9 100644
>> --- a/arch/arm/boot/dts/ea3250.dts
>> +++ b/arch/arm/boot/dts/ea3250.dts
>> @@ -213,8 +213,6 @@
>>
>> /* 128MB Flash via SLC NAND controller */
>> &slc {
>> - #address-cells = <1>;
>> - #size-cells = <1>;
>> status = "okay";
>>
>> nxp,wdr-clks = <14>;
>> @@ -228,26 +226,31 @@
>> nand-on-flash-bbt;
>> gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
>>
>> - mtd0@00000000 {
>> - label = "ea3250-boot";
>> - reg = <0x00000000 0x00080000>;
>> - read-only;
>> - };
>> + partitions {
>
> You may want to add the compatible property to the partitions here:
> + compatible = "fixed-partitions";
>
> Refer to commit e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381 for details.
>
> This suggestion is also valid for patch #6.
>
> Note:
> This change was required to use the "partitions" subnode
> on my custom LPC3250 board definition.
I agree, will fix it shortly, thank you!
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>>
> ...
--
With best wishes,
Vladimir
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node
@ 2016-04-26 18:36 ` Vladimir Zapolskiy
0 siblings, 0 replies; 30+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-26 18:36 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sylvain,
On 26.04.2016 19:58, Sylvain Lemieux wrote:
> Hi Vladimir,
>
> On Tue, 2016-04-26 at 03:37 +0300, Vladimir Zapolskiy wrote:
>> To declare MTD OF partitions NAND controller device node should have
>> a special 'partitions' subnode, the change removes a debug message
>> from mtd/ofpart on boot:
>>
>> nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash at 20020000.
>> Trying to parse direct subnodes as partitions.
>>
>> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
>> ---
>> arch/arm/boot/dts/ea3250.dts | 41 ++++++++++++++++++++++-------------------
>> 1 file changed, 22 insertions(+), 19 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/ea3250.dts b/arch/arm/boot/dts/ea3250.dts
>> index 7cf815a..58bcda9 100644
>> --- a/arch/arm/boot/dts/ea3250.dts
>> +++ b/arch/arm/boot/dts/ea3250.dts
>> @@ -213,8 +213,6 @@
>>
>> /* 128MB Flash via SLC NAND controller */
>> &slc {
>> - #address-cells = <1>;
>> - #size-cells = <1>;
>> status = "okay";
>>
>> nxp,wdr-clks = <14>;
>> @@ -228,26 +226,31 @@
>> nand-on-flash-bbt;
>> gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
>>
>> - mtd0 at 00000000 {
>> - label = "ea3250-boot";
>> - reg = <0x00000000 0x00080000>;
>> - read-only;
>> - };
>> + partitions {
>
> You may want to add the compatible property to the partitions here:
> + compatible = "fixed-partitions";
>
> Refer to commit e488ca9f8d4f62c2dc36bfa5c32f68e7f05ab381 for details.
>
> This suggestion is also valid for patch #6.
>
> Note:
> This change was required to use the "partitions" subnode
> on my custom LPC3250 board definition.
I agree, will fix it shortly, thank you!
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>>
> ...
--
With best wishes,
Vladimir
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2016-04-26 18:36 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-26 0:37 [PATCH 0/7] ARM: dts: lpc32xx: nonfunctional updates to ea3250 and phy3250 dts Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-1-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 0:37 ` [PATCH 1/7] ARM: dts: lpc32xx: ea3250: avoid extension of device nodes by absolute path Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-2-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 15:45 ` Sylvain Lemieux
2016-04-26 15:45 ` Sylvain Lemieux
2016-04-26 0:37 ` [PATCH 2/7] ARM: dts: lpc32xx: ea3250: add NAND partitions device node Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-3-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 16:58 ` Sylvain Lemieux
2016-04-26 16:58 ` Sylvain Lemieux
2016-04-26 18:36 ` Vladimir Zapolskiy
2016-04-26 18:36 ` Vladimir Zapolskiy
2016-04-26 0:37 ` [PATCH 3/7] ARM: dts: lpc32xx: ea3250: fix Atmel at24 eeprom vendor Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-4-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 15:41 ` Sylvain Lemieux
2016-04-26 15:41 ` Sylvain Lemieux
2016-04-26 0:37 ` [PATCH 4/7] ARM: dts: lpc32xx: ea3250: add SoC name prefix to board dts file Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-5-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 15:36 ` Sylvain Lemieux
2016-04-26 15:36 ` Sylvain Lemieux
2016-04-26 0:37 ` [PATCH 5/7] ARM: dts: lpc32xx: phy3250: avoid extension of device nodes by absolute path Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-6-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 15:46 ` Sylvain Lemieux
2016-04-26 15:46 ` Sylvain Lemieux
2016-04-26 0:37 ` [PATCH 6/7] ARM: dts: lpc32xx: phy3250: add NAND partitions device node Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
2016-04-26 0:37 ` [PATCH 7/7] ARM: dts: lpc32xx: phy3250: add SoC name prefix to board dts file Vladimir Zapolskiy
2016-04-26 0:37 ` Vladimir Zapolskiy
[not found] ` <1461631050-10479-8-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-04-26 15:37 ` Sylvain Lemieux
2016-04-26 15:37 ` Sylvain Lemieux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.