* [RFC] Add .dts file for Netgear ReadyNAS 102
@ 2013-06-30 20:59 Arnaud Ebalard
2013-07-02 12:46 ` Jason Cooper
2013-07-02 13:48 ` Sebastian Hesselbarth
0 siblings, 2 replies; 36+ messages in thread
From: Arnaud Ebalard @ 2013-06-30 20:59 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Here is a .dts file for Armada-370-based Netgear ReadyNAS 102. The
purpose of this submission is to get some feedback and also some
directions on how to proceed to get it included at some point.
Regarding the device, I put some information on the various hardware
parts here: http://natisbad.org/NAS2/ . I still have to update the
page now that almost everything is as it should.
With the appended .dts file, all the various parts of the device work
as expected:
- USB 3.0 rear ports via FL1009 XHCI controller connected to PCIe
bus (eSATA not tested yet)
- USB 2.0 front port
- Gigabit Ethernet port (MAC needs to be set by the system at boot)
- Backup, Power and Reset buttons
- LEDS (most set to on but changeable). At the moment, I still have not
found by which gpio the last one is controlled (activity led).
- serial port at the rear
- G762 PWM fan controller on I2C bus: it requires G762 driver which
is *currently sitting in hwmon maintainer tree* and will be available
in 3.11. Jason, as a side note I have a short patch for available for
ReadyNAS Duo v2 .dts file (the device also has a G762). I can hold
it until rc cycle if you prefer.
- Intersil ISL 12057 RTC on I2C bus: support for that one is *not
available upstream yet* but I have an initial working patch which I
intend to push upstream (same as for G762 driver).
In the end, the main missing part is the NAND but I guess this is the
same for all Aramda 370/XP boards and this is not a big issue as it is
still possible to interact w/ it via u-boot and install a set of
uImage/uInitramfs that way.
Jason, the tests were done against your for-next branch (with all the
fixes which accumulated in Linux tree from rc7). I will work directly
against Linus tree as soon as the rc- cycle for 3.11 starts.
Additionally, I don't think this is a problem but my whole toolchain is
an arm-linux-gnueabi- one and the tests were done using a Debian (ho hfp
at all).
Cheers,
a+
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/armada-370-netgear-rn102.dts | 215 +++++++++++++++++++++++++
2 files changed, 216 insertions(+)
create mode 100644 arch/arm/boot/dts/armada-370-netgear-rn102.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index ae7124c..076ff01 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \
msm8960-cdp.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
armada-370-mirabox.dtb \
+ armada-370-netgear-rn102.dtb \
armada-370-rd.dtb \
armada-xp-db.dtb \
armada-xp-gp.dtb \
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
new file mode 100644
index 0000000..5a9e129
--- /dev/null
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -0,0 +1,215 @@
+/*
+ * Device Tree file for NETGEAR ReadyNAS 102
+ *
+ * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+/dts-v1/;
+
+/include/ "armada-370.dtsi"
+
+/ {
+ model = "NETGEAR ReadyNAS 102";
+ compatible = "netgear,readynas-102", "marvell,armada370", "marvell,armada-370-xp";
+
+ chosen {
+ bootargs = "console=ttyS0,115200 earlyprintk";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x00000000 0x20000000>; /* 512 MB */
+ };
+
+ soc {
+ internal-regs {
+ serial at 12000 {
+ clock-frequency = <200000000>;
+ status = "okay";
+ };
+
+ sata at a0000 {
+ nr-ports = <2>;
+ status = "okay";
+ };
+
+ pinctrl {
+ power_led_pin: power-led-pin {
+ marvell,pins = "mpp57";
+ marvell,function = "gpio";
+ };
+ sata1_led_pin: sata1-led-pin {
+ marvell,pins = "mpp15";
+ marvell,function = "gpio";
+ };
+
+ sata2_led_pin: sata2-led-pin {
+ marvell,pins = "mpp14";
+ marvell,function = "gpio";
+ };
+
+ backup_led_pin: backup-led-pin {
+ marvell,pins = "mpp56";
+ marvell,function = "gpio";
+ };
+ };
+
+ gpio_leds {
+ compatible = "gpio-leds";
+ pinctrl-0 = < &power_led_pin
+ &sata1_led_pin
+ &sata2_led_pin
+ &backup_led_pin >;
+ pinctrl-names = "default";
+
+ blue_power_led {
+ label = "rn102:blue:pwr";
+ gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
+ linux,default-trigger = "heartbeat";
+ };
+
+ green_sata1_led {
+ label = "rn102:green:sata1";
+ gpios = <&gpio0 15 1>; /* GPIO 15 Active Low */
+ default-state = "on";
+ };
+
+ green_sata2_led {
+ label = "rn102:green:sata2";
+ gpios = <&gpio0 14 1>; /* GPIO 14 Active Low */
+ default-state = "on";
+ };
+
+ green_backup_led {
+ label = "rn102:green:backup";
+ gpios = <&gpio1 24 1>; /* GPIO 56 Active Low */
+ default-state = "on";
+ };
+ };
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button at 1 {
+ label = "Power Button";
+ linux,code = <116>; /* KEY_POWER */
+ gpios = <&gpio1 30 1>;
+ };
+ button at 2 {
+ label = "Reset Button";
+ linux,code = <0x198>; /* KEY_RESTART */
+ gpios = <&gpio0 6 1>;
+ };
+ button at 3 {
+ label = "Backup Button";
+ linux,code = <133>; /* KEY_COPY */
+ gpios = <&gpio1 26 1>;
+ };
+ };
+
+ mdio {
+ phy0: ethernet-phy at 0 {
+ reg = <0>;
+ };
+ };
+
+ ethernet at 74000 {
+ status = "okay";
+ phy = <&phy0>;
+ phy-mode = "rgmii-id";
+ };
+
+ /* Waiting for NAND support to appear in armada-370.dtsi
+
+ nand at d0000 {
+ status = "okay";
+
+ partition at 0 {
+ label = "u-boot";
+ reg = <0x0000000 0x180000>;
+ read-only;
+ };
+
+ partition at 180000 {
+ label = "u-boot-env";
+ reg = <0x180000 0x20000>;
+ };
+
+ partition at 200000 {
+ label = "uImage";
+ reg = <0x0200000 0x600000>;
+ };
+
+ partition at 800000 {
+ label = "minirootfs";
+ reg = <0x0800000 0x400000>;
+ };
+
+ partition at c00000 {
+ label = "ubi";
+ reg = <0x0c00000 0x7400000>;
+ };
+ };
+
+ */
+
+ usb at 50000 {
+ status = "okay";
+ };
+
+ clocks {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ g762_clk: fixedclk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <8192>;
+ };
+ };
+
+ i2c at 11000 {
+ compatible = "marvell,mv64xxx-i2c";
+ clock-frequency = <100000>;
+ status = "okay";
+
+ isl12057: isl12057 at 68 {
+ compatible = "isil,isl12057";
+ reg = <0x68>;
+ wakeup-source;
+ };
+
+ g762: g762 at 3e {
+ compatible = "gmt,g762";
+ reg = <0x3e>;
+ clocks = <&g762_clk>; /* input clock */
+ fan_gear_mode = <0>;
+ fan_startv = <1>;
+ pwm_polarity = <0>;
+ };
+ };
+
+ pcie-controller {
+ status = "okay";
+
+ /* Connected to Marvell SATA controller */
+ pcie at 1,0 {
+ /* Port 0, Lane 0 */
+ status = "okay";
+ };
+
+ /* Connected to FL1009 USB 3.0 controller */
+ pcie at 2,0 {
+ /* Port 1, Lane 0 */
+ status = "okay";
+ };
+ };
+ };
+ };
+};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-06-30 20:59 [RFC] Add .dts file for Netgear ReadyNAS 102 Arnaud Ebalard
@ 2013-07-02 12:46 ` Jason Cooper
2013-07-02 13:14 ` Thomas Petazzoni
2013-07-02 17:21 ` Arnaud Ebalard
2013-07-02 13:48 ` Sebastian Hesselbarth
1 sibling, 2 replies; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 12:46 UTC (permalink / raw)
To: linux-arm-kernel
Arnaud,
On Sun, Jun 30, 2013 at 10:59:31PM +0200, Arnaud Ebalard wrote:
> Regarding the device, I put some information on the various hardware
> parts here: http://natisbad.org/NAS2/ . I still have to update the
> page now that almost everything is as it should.
Nice!
> With the appended .dts file, all the various parts of the device work
> as expected:
>
> - USB 3.0 rear ports via FL1009 XHCI controller connected to PCIe
> bus (eSATA not tested yet)
> - USB 2.0 front port
> - Gigabit Ethernet port (MAC needs to be set by the system at boot)
> - Backup, Power and Reset buttons
> - LEDS (most set to on but changeable). At the moment, I still have not
> found by which gpio the last one is controlled (activity led).
> - serial port at the rear
>
> - G762 PWM fan controller on I2C bus: it requires G762 driver which
> is *currently sitting in hwmon maintainer tree* and will be available
> in 3.11. Jason, as a side note I have a short patch for available for
> ReadyNAS Duo v2 .dts file (the device also has a G762). I can hold
> it until rc cycle if you prefer.
Nope, post patches when you have them ready. I am capable of holding
them until -rc1 drops ;-)
> - Intersil ISL 12057 RTC on I2C bus: support for that one is *not
> available upstream yet* but I have an initial working patch which I
> intend to push upstream (same as for G762 driver).
>
> In the end, the main missing part is the NAND but I guess this is the
> same for all Aramda 370/XP boards and this is not a big issue as it is
> still possible to interact w/ it via u-boot and install a set of
> uImage/uInitramfs that way.
What's the big blocker for this? Once this is done, debian should be
able to add support for this board. After all, upgrading the kernel and
initrd from userspace is a desirable option.
> Jason, the tests were done against your for-next branch (with all the
> fixes which accumulated in Linux tree from rc7). I will work directly
> against Linus tree as soon as the rc- cycle for 3.11 starts.
hmmm, my latest for-next (20130623) is based against v3.10-rc7, are you
using that?
> Additionally, I don't think this is a problem but my whole toolchain is
> an arm-linux-gnueabi- one and the tests were done using a Debian (ho hfp
> at all).
I do believe there is an active aversion to floating point within the
kernel, you should be fine. We also don't like C libraries, or
hamsters, apparently.
> Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
> ---
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/armada-370-netgear-rn102.dts | 215 +++++++++++++++++++++++++
> 2 files changed, 216 insertions(+)
> create mode 100644 arch/arm/boot/dts/armada-370-netgear-rn102.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index ae7124c..076ff01 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \
> msm8960-cdp.dtb
> dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
> armada-370-mirabox.dtb \
> + armada-370-netgear-rn102.dtb \
> armada-370-rd.dtb \
> armada-xp-db.dtb \
> armada-xp-gp.dtb \
> diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
> new file mode 100644
> index 0000000..5a9e129
> --- /dev/null
> +++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
> @@ -0,0 +1,215 @@
> +/*
> + * Device Tree file for NETGEAR ReadyNAS 102
> + *
> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version
> + * 2 of the License, or (at your option) any later version.
> + */
> +
> +/dts-v1/;
> +
> +/include/ "armada-370.dtsi"
> +
> +/ {
> + model = "NETGEAR ReadyNAS 102";
> + compatible = "netgear,readynas-102", "marvell,armada370", "marvell,armada-370-xp";
> +
> + chosen {
> + bootargs = "console=ttyS0,115200 earlyprintk";
> + };
> +
> + memory {
> + device_type = "memory";
> + reg = <0x00000000 0x20000000>; /* 512 MB */
> + };
> +
> + soc {
> + internal-regs {
> + serial at 12000 {
> + clock-frequency = <200000000>;
> + status = "okay";
> + };
> +
> + sata at a0000 {
> + nr-ports = <2>;
> + status = "okay";
> + };
> +
> + pinctrl {
> + power_led_pin: power-led-pin {
> + marvell,pins = "mpp57";
> + marvell,function = "gpio";
> + };
> + sata1_led_pin: sata1-led-pin {
> + marvell,pins = "mpp15";
> + marvell,function = "gpio";
> + };
> +
> + sata2_led_pin: sata2-led-pin {
> + marvell,pins = "mpp14";
> + marvell,function = "gpio";
> + };
> +
> + backup_led_pin: backup-led-pin {
> + marvell,pins = "mpp56";
> + marvell,function = "gpio";
> + };
> + };
> +
> + gpio_leds {
> + compatible = "gpio-leds";
> + pinctrl-0 = < &power_led_pin
> + &sata1_led_pin
> + &sata2_led_pin
> + &backup_led_pin >;
> + pinctrl-names = "default";
> +
> + blue_power_led {
> + label = "rn102:blue:pwr";
> + gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
> + linux,default-trigger = "heartbeat";
> + };
> +
> + green_sata1_led {
> + label = "rn102:green:sata1";
> + gpios = <&gpio0 15 1>; /* GPIO 15 Active Low */
> + default-state = "on";
> + };
> +
> + green_sata2_led {
> + label = "rn102:green:sata2";
> + gpios = <&gpio0 14 1>; /* GPIO 14 Active Low */
> + default-state = "on";
> + };
> +
> + green_backup_led {
> + label = "rn102:green:backup";
> + gpios = <&gpio1 24 1>; /* GPIO 56 Active Low */
> + default-state = "on";
> + };
> + };
> +
> + gpio_keys {
> + compatible = "gpio-keys";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + button at 1 {
> + label = "Power Button";
> + linux,code = <116>; /* KEY_POWER */
> + gpios = <&gpio1 30 1>;
> + };
> + button at 2 {
> + label = "Reset Button";
> + linux,code = <0x198>; /* KEY_RESTART */
> + gpios = <&gpio0 6 1>;
> + };
> + button at 3 {
> + label = "Backup Button";
> + linux,code = <133>; /* KEY_COPY */
> + gpios = <&gpio1 26 1>;
> + };
> + };
> +
> + mdio {
> + phy0: ethernet-phy at 0 {
> + reg = <0>;
> + };
> + };
> +
> + ethernet at 74000 {
> + status = "okay";
> + phy = <&phy0>;
> + phy-mode = "rgmii-id";
> + };
> +
> + /* Waiting for NAND support to appear in armada-370.dtsi
I would just leave this out until we get the driver sorted.
thx,
Jason.
> +
> + nand at d0000 {
> + status = "okay";
> +
> + partition at 0 {
> + label = "u-boot";
> + reg = <0x0000000 0x180000>;
> + read-only;
> + };
> +
> + partition at 180000 {
> + label = "u-boot-env";
> + reg = <0x180000 0x20000>;
> + };
> +
> + partition at 200000 {
> + label = "uImage";
> + reg = <0x0200000 0x600000>;
> + };
> +
> + partition at 800000 {
> + label = "minirootfs";
> + reg = <0x0800000 0x400000>;
> + };
> +
> + partition at c00000 {
> + label = "ubi";
> + reg = <0x0c00000 0x7400000>;
> + };
> + };
> +
> + */
> +
> + usb at 50000 {
> + status = "okay";
> + };
> +
> + clocks {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + g762_clk: fixedclk {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <8192>;
> + };
> + };
> +
> + i2c at 11000 {
> + compatible = "marvell,mv64xxx-i2c";
> + clock-frequency = <100000>;
> + status = "okay";
> +
> + isl12057: isl12057 at 68 {
> + compatible = "isil,isl12057";
> + reg = <0x68>;
> + wakeup-source;
> + };
> +
> + g762: g762 at 3e {
> + compatible = "gmt,g762";
> + reg = <0x3e>;
> + clocks = <&g762_clk>; /* input clock */
> + fan_gear_mode = <0>;
> + fan_startv = <1>;
> + pwm_polarity = <0>;
> + };
> + };
> +
> + pcie-controller {
> + status = "okay";
> +
> + /* Connected to Marvell SATA controller */
> + pcie at 1,0 {
> + /* Port 0, Lane 0 */
> + status = "okay";
> + };
> +
> + /* Connected to FL1009 USB 3.0 controller */
> + pcie at 2,0 {
> + /* Port 1, Lane 0 */
> + status = "okay";
> + };
> + };
> + };
> + };
> +};
> --
> 1.8.3.1
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 12:46 ` Jason Cooper
@ 2013-07-02 13:14 ` Thomas Petazzoni
2013-07-02 13:33 ` Jason Cooper
2013-07-02 17:21 ` Arnaud Ebalard
1 sibling, 1 reply; 36+ messages in thread
From: Thomas Petazzoni @ 2013-07-02 13:14 UTC (permalink / raw)
To: linux-arm-kernel
Dear Jason Cooper,
On Tue, 2 Jul 2013 08:46:39 -0400, Jason Cooper wrote:
> > In the end, the main missing part is the NAND but I guess this is the
> > same for all Aramda 370/XP boards and this is not a big issue as it is
> > still possible to interact w/ it via u-boot and install a set of
> > uImage/uInitramfs that way.
>
> What's the big blocker for this? Once this is done, debian should be
> able to add support for this board. After all, upgrading the kernel and
> initrd from userspace is a desirable option.
The big blocker is that no-one has written the driver for it. It is
still on our (Free Electrons) TODO-list, but not as a top-priority item
for the moment.
Ezequiel had started to do some preliminary cleanup work on the
pxa3xx-nand driver, with the ultimate goal of making it support Armada
370/XP (because the IP in the Armada 370/XP is apparently an evolution
of the PXA3xx NAND controller), but our priorities shifted to those
other topics. We will back on it some day, but I can't say when at the
moment.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:14 ` Thomas Petazzoni
@ 2013-07-02 13:33 ` Jason Cooper
2013-07-02 13:38 ` Thomas Petazzoni
0 siblings, 1 reply; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 13:33 UTC (permalink / raw)
To: linux-arm-kernel
Thomas,
On Tue, Jul 02, 2013 at 03:14:07PM +0200, Thomas Petazzoni wrote:
> On Tue, 2 Jul 2013 08:46:39 -0400, Jason Cooper wrote:
> > > In the end, the main missing part is the NAND but I guess this is the
> > > same for all Aramda 370/XP boards and this is not a big issue as it is
> > > still possible to interact w/ it via u-boot and install a set of
> > > uImage/uInitramfs that way.
> >
> > What's the big blocker for this? Once this is done, debian should be
> > able to add support for this board. After all, upgrading the kernel and
> > initrd from userspace is a desirable option.
>
> The big blocker is that no-one has written the driver for it. It is
> still on our (Free Electrons) TODO-list, but not as a top-priority item
> for the moment.
Ok.
> Ezequiel had started to do some preliminary cleanup work on the
> pxa3xx-nand driver, with the ultimate goal of making it support Armada
> 370/XP (because the IP in the Armada 370/XP is apparently an evolution
> of the PXA3xx NAND controller), but our priorities shifted to those
> other topics. We will back on it some day, but I can't say when at the
> moment.
Is this under contract? If so, I don't want to take it from you. If it
isn't, perhaps Ezequiel and Arnaud could mind-meld?
thx,
Jason.
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:33 ` Jason Cooper
@ 2013-07-02 13:38 ` Thomas Petazzoni
2013-07-02 13:44 ` Jason Cooper
0 siblings, 1 reply; 36+ messages in thread
From: Thomas Petazzoni @ 2013-07-02 13:38 UTC (permalink / raw)
To: linux-arm-kernel
Dear Jason Cooper,
On Tue, 2 Jul 2013 09:33:37 -0400, Jason Cooper wrote:
> > The big blocker is that no-one has written the driver for it. It is
> > still on our (Free Electrons) TODO-list, but not as a top-priority item
> > for the moment.
>
> Ok.
>
> > Ezequiel had started to do some preliminary cleanup work on the
> > pxa3xx-nand driver, with the ultimate goal of making it support Armada
> > 370/XP (because the IP in the Armada 370/XP is apparently an evolution
> > of the PXA3xx NAND controller), but our priorities shifted to those
> > other topics. We will back on it some day, but I can't say when at the
> > moment.
>
> Is this under contract? If so, I don't want to take it from you. If it
> isn't, perhaps Ezequiel and Arnaud could mind-meld?
The big problem is that the Armada 370 and Armada XP datasheets are
still only available under NDA, so it's quite hard for someone to step
up and do this, without access to those datasheets.
It used to be on our TODO-list, but isn't any longer, and I have no
informations about when it will re-appear on our TODO-list at this
point.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:38 ` Thomas Petazzoni
@ 2013-07-02 13:44 ` Jason Cooper
2013-07-02 13:49 ` Willy Tarreau
2013-07-02 17:22 ` Arnaud Ebalard
0 siblings, 2 replies; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 13:44 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 03:38:25PM +0200, Thomas Petazzoni wrote:
> Dear Jason Cooper,
>
> On Tue, 2 Jul 2013 09:33:37 -0400, Jason Cooper wrote:
>
> > > The big blocker is that no-one has written the driver for it. It is
> > > still on our (Free Electrons) TODO-list, but not as a top-priority item
> > > for the moment.
> >
> > Ok.
> >
> > > Ezequiel had started to do some preliminary cleanup work on the
> > > pxa3xx-nand driver, with the ultimate goal of making it support Armada
> > > 370/XP (because the IP in the Armada 370/XP is apparently an evolution
> > > of the PXA3xx NAND controller), but our priorities shifted to those
> > > other topics. We will back on it some day, but I can't say when at the
> > > moment.
> >
> > Is this under contract? If so, I don't want to take it from you. If it
> > isn't, perhaps Ezequiel and Arnaud could mind-meld?
>
> The big problem is that the Armada 370 and Armada XP datasheets are
> still only available under NDA, so it's quite hard for someone to step
> up and do this, without access to those datasheets.
bummer.
> It used to be on our TODO-list, but isn't any longer, and I have no
> informations about when it will re-appear on our TODO-list at this
> point.
So, Arnaud, how do you feel about tackling the nand driver based on the
sources you have and the pointers above?
thx,
Jason.
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:44 ` Jason Cooper
@ 2013-07-02 13:49 ` Willy Tarreau
2013-07-02 14:24 ` Jason Cooper
2013-07-02 17:22 ` Arnaud Ebalard
1 sibling, 1 reply; 36+ messages in thread
From: Willy Tarreau @ 2013-07-02 13:49 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 09:44:21AM -0400, Jason Cooper wrote:
> On Tue, Jul 02, 2013 at 03:38:25PM +0200, Thomas Petazzoni wrote:
> > Dear Jason Cooper,
> >
> > On Tue, 2 Jul 2013 09:33:37 -0400, Jason Cooper wrote:
> >
> > > > The big blocker is that no-one has written the driver for it. It is
> > > > still on our (Free Electrons) TODO-list, but not as a top-priority item
> > > > for the moment.
> > >
> > > Ok.
> > >
> > > > Ezequiel had started to do some preliminary cleanup work on the
> > > > pxa3xx-nand driver, with the ultimate goal of making it support Armada
> > > > 370/XP (because the IP in the Armada 370/XP is apparently an evolution
> > > > of the PXA3xx NAND controller), but our priorities shifted to those
> > > > other topics. We will back on it some day, but I can't say when at the
> > > > moment.
> > >
> > > Is this under contract? If so, I don't want to take it from you. If it
> > > isn't, perhaps Ezequiel and Arnaud could mind-meld?
> >
> > The big problem is that the Armada 370 and Armada XP datasheets are
> > still only available under NDA, so it's quite hard for someone to step
> > up and do this, without access to those datasheets.
>
> bummer.
>
> > It used to be on our TODO-list, but isn't any longer, and I have no
> > informations about when it will re-appear on our TODO-list at this
> > point.
>
> So, Arnaud, how do you feel about tackling the nand driver based on the
> sources you have and the pointers above?
BTW if that can help, I already have a working port of the driver that is
present in Marvell's kernel. The port is absolutely ugly, it's plain copy
paste of the HAL parts that I needed until it built and booted. It worked
on my mirabox with 3.8. I know it doesn't work since recently (I believe
since introduction of the mbus driver) though I haven't had time to check
why yet. The advantage of such an ugly work is that I'm sure that it will
never be merged into mainline :-)
Regards,
Willy
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:49 ` Willy Tarreau
@ 2013-07-02 14:24 ` Jason Cooper
0 siblings, 0 replies; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 14:24 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 03:49:47PM +0200, Willy Tarreau wrote:
> On Tue, Jul 02, 2013 at 09:44:21AM -0400, Jason Cooper wrote:
> > On Tue, Jul 02, 2013 at 03:38:25PM +0200, Thomas Petazzoni wrote:
> > > Dear Jason Cooper,
> > >
> > > On Tue, 2 Jul 2013 09:33:37 -0400, Jason Cooper wrote:
> > >
> > > > > The big blocker is that no-one has written the driver for it. It is
> > > > > still on our (Free Electrons) TODO-list, but not as a top-priority item
> > > > > for the moment.
> > > >
> > > > Ok.
> > > >
> > > > > Ezequiel had started to do some preliminary cleanup work on the
> > > > > pxa3xx-nand driver, with the ultimate goal of making it support Armada
> > > > > 370/XP (because the IP in the Armada 370/XP is apparently an evolution
> > > > > of the PXA3xx NAND controller), but our priorities shifted to those
> > > > > other topics. We will back on it some day, but I can't say when at the
> > > > > moment.
> > > >
> > > > Is this under contract? If so, I don't want to take it from you. If it
> > > > isn't, perhaps Ezequiel and Arnaud could mind-meld?
> > >
> > > The big problem is that the Armada 370 and Armada XP datasheets are
> > > still only available under NDA, so it's quite hard for someone to step
> > > up and do this, without access to those datasheets.
> >
> > bummer.
> >
> > > It used to be on our TODO-list, but isn't any longer, and I have no
> > > informations about when it will re-appear on our TODO-list at this
> > > point.
> >
> > So, Arnaud, how do you feel about tackling the nand driver based on the
> > sources you have and the pointers above?
>
> BTW if that can help, I already have a working port of the driver that is
> present in Marvell's kernel. The port is absolutely ugly, it's plain copy
> paste of the HAL parts that I needed until it built and booted. It worked
> on my mirabox with 3.8. I know it doesn't work since recently (I believe
> since introduction of the mbus driver) though I haven't had time to check
> why yet. The advantage of such an ugly work is that I'm sure that it will
> never be merged into mainline :-)
Could you post a branch somewhere for us to look at? Or, just post it
RFC in all it's ugly glory :) Hopefully, there's enough hints in there
to give us a good idea of what needs changed in pxa33xx-nand.
thx,
Jason.
>
> Regards,
> Willy
>
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:44 ` Jason Cooper
2013-07-02 13:49 ` Willy Tarreau
@ 2013-07-02 17:22 ` Arnaud Ebalard
2013-07-02 17:41 ` Jason Cooper
1 sibling, 1 reply; 36+ messages in thread
From: Arnaud Ebalard @ 2013-07-02 17:22 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Jason Cooper <jason@lakedaemon.net> writes:
>> The big problem is that the Armada 370 and Armada XP datasheets are
>> still only available under NDA, so it's quite hard for someone to step
>> up and do this, without access to those datasheets.
>
> bummer.
>
>> It used to be on our TODO-list, but isn't any longer, and I have no
>> informations about when it will re-appear on our TODO-list at this
>> point.
>
> So, Arnaud, how do you feel about tackling the nand driver based on the
> sources you have and the pointers above?
Sadly, I do not have enough spare time to work on this: at the moment, I
intend to focus on writing a clean driver for ISL 12057 RTC/Alarm chip
and get it accepted for 3.12.
Cheers,
a+
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 17:22 ` Arnaud Ebalard
@ 2013-07-02 17:41 ` Jason Cooper
2013-07-02 21:48 ` Arnaud Ebalard
0 siblings, 1 reply; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 17:41 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 07:22:34PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> Jason Cooper <jason@lakedaemon.net> writes:
>
> >> The big problem is that the Armada 370 and Armada XP datasheets are
> >> still only available under NDA, so it's quite hard for someone to step
> >> up and do this, without access to those datasheets.
> >
> > bummer.
> >
> >> It used to be on our TODO-list, but isn't any longer, and I have no
> >> informations about when it will re-appear on our TODO-list at this
> >> point.
> >
> > So, Arnaud, how do you feel about tackling the nand driver based on the
> > sources you have and the pointers above?
>
> Sadly, I do not have enough spare time to work on this: at the moment, I
> intend to focus on writing a clean driver for ISL 12057 RTC/Alarm chip
> and get it accepted for 3.12.
more bummer. Willy, mind posting what you have? Arnaud, do you have a
link to the source code for your device? And have you found the code
they started with?
thx,
Jason.
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 17:41 ` Jason Cooper
@ 2013-07-02 21:48 ` Arnaud Ebalard
[not found] ` <20130702220936.GC10215@1wt.eu>
0 siblings, 1 reply; 36+ messages in thread
From: Arnaud Ebalard @ 2013-07-02 21:48 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Jason Cooper <jason@lakedaemon.net> writes:
> On Tue, Jul 02, 2013 at 07:22:34PM +0200, Arnaud Ebalard wrote:
>> Hi,
>>
>> Jason Cooper <jason@lakedaemon.net> writes:
>>
>> >> The big problem is that the Armada 370 and Armada XP datasheets are
>> >> still only available under NDA, so it's quite hard for someone to step
>> >> up and do this, without access to those datasheets.
>> >
>> > bummer.
>> >
>> >> It used to be on our TODO-list, but isn't any longer, and I have no
>> >> informations about when it will re-appear on our TODO-list at this
>> >> point.
>> >
>> > So, Arnaud, how do you feel about tackling the nand driver based on the
>> > sources you have and the pointers above?
>>
>> Sadly, I do not have enough spare time to work on this: at the moment, I
>> intend to focus on writing a clean driver for ISL 12057 RTC/Alarm chip
>> and get it accepted for 3.12.
>
> more bummer. Willy, mind posting what you have? Arnaud, do you have a
> link to the source code for your device? And have you found the code
> they started with?
The code NETGEAR provides for ReadyNAS 102 is a (lightly) modified
version of KW40 LSP release 3.1.0-NQ. This is basically a 3.0.X kernel
(X=6 for Marvell LSP, X=56 in NETGEAR's tarball), with some 1,133,970
(no typo) lines patches on top of it:
http://www.readynas.com/download/GPL/other/linux-ntgr-3.0.56.tar.xz
A quick look provides the following:
$ wc -l arch/arm/plat-armada/mv_drivers_lsp/mv_mtd/nand_nfc.c
1761 arch/arm/plat-armada/mv_drivers_lsp/mv_mtd/nand_nfc.c
$ head -10 arch/arm/plat-armada/mv_drivers_lsp/mv_mtd/nand_nfc.c
/*
* nand_nfc.c
*
* Copyright c 2005 Intel Corporation
* Copyright c 2006 Marvell International Ltd.
*
* This driver is based on the PXA drivers/mtd/nand/pxa3xx_nand.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
Which matches what Thomas wrote in a previous email regarding pwa3xx
base.
Cheers,
a+
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 12:46 ` Jason Cooper
2013-07-02 13:14 ` Thomas Petazzoni
@ 2013-07-02 17:21 ` Arnaud Ebalard
2013-07-02 17:38 ` Jason Cooper
1 sibling, 1 reply; 36+ messages in thread
From: Arnaud Ebalard @ 2013-07-02 17:21 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Jason Cooper <jason@lakedaemon.net> writes:
>> - G762 PWM fan controller on I2C bus: it requires G762 driver which
>> is *currently sitting in hwmon maintainer tree* and will be available
>> in 3.11. Jason, as a side note I have a short patch for available for
>> ReadyNAS Duo v2 .dts file (the device also has a G762). I can hold
>> it until rc cycle if you prefer.
>
> Nope, post patches when you have them ready. I am capable of holding
> them until -rc1 drops ;-)
That's the one I sent yesterday (the patch tagged RESEND, i.e. w/o the
fixes for space issue in .dts file)
>> Jason, the tests were done against your for-next branch (with all the
>> fixes which accumulated in Linux tree from rc7). I will work directly
>> against Linus tree as soon as the rc- cycle for 3.11 starts.
>
> hmmm, my latest for-next (20130623) is based against v3.10-rc7, are you
> using that?
Yes, but with just your tree I got some freezes during boot and applying
the additional commits available in Linux tree, this fixed the issue. I
did not spend much the time but I think this is related to
PJ4B_ERRATA_4742 which you do not have in your for-next branch:
commit 3e0a07f8c401bb43e0f964c5f1285b2cb2028645
Author: Gregory CLEMENT <gregory.clement@free-electrons.com>
Date: Sun Jun 23 10:17:11 2013 +0100
ARM: 7773/1: PJ4B: Add support for errata 4742
This commit fixes the regression on Armada 370 (the kernal hang during
boot) introduced by the commit: "ARM: 7691/1: mm: kill unused
TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP instead".
...
>> [snip]
>>
>> +
>> + /* Waiting for NAND support to appear in armada-370.dtsi
>
> I would just leave this out until we get the driver sorted.
ok, will do that in next versions.
>> + i2c at 11000 {
>> + compatible = "marvell,mv64xxx-i2c";
>> + clock-frequency = <100000>;
>> + status = "okay";
>> +
>> + isl12057: isl12057 at 68 {
>> + compatible = "isil,isl12057";
>> + reg = <0x68>;
>> + wakeup-source;
>> + };
My main question is for ISL12057 RTC chip: I guess it's just pointless to
push the .dts file for the RN102 w/o a working RTC clock?
Cheers,
a+
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 17:21 ` Arnaud Ebalard
@ 2013-07-02 17:38 ` Jason Cooper
0 siblings, 0 replies; 36+ messages in thread
From: Jason Cooper @ 2013-07-02 17:38 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 07:21:52PM +0200, Arnaud Ebalard wrote:
> Jason Cooper <jason@lakedaemon.net> writes:
>
> >> - G762 PWM fan controller on I2C bus: it requires G762 driver which
> >> is *currently sitting in hwmon maintainer tree* and will be available
> >> in 3.11. Jason, as a side note I have a short patch for available for
> >> ReadyNAS Duo v2 .dts file (the device also has a G762). I can hold
> >> it until rc cycle if you prefer.
> >
> > Nope, post patches when you have them ready. I am capable of holding
> > them until -rc1 drops ;-)
>
> That's the one I sent yesterday (the patch tagged RESEND, i.e. w/o the
> fixes for space issue in .dts file)
Yep, I have it queued up.
> >> + i2c at 11000 {
> >> + compatible = "marvell,mv64xxx-i2c";
> >> + clock-frequency = <100000>;
> >> + status = "okay";
> >> +
> >> + isl12057: isl12057 at 68 {
> >> + compatible = "isil,isl12057";
> >> + reg = <0x68>;
> >> + wakeup-source;
> >> + };
>
> My main question is for ISL12057 RTC chip: I guess it's just pointless to
> push the .dts file for the RN102 w/o a working RTC clock?
Not necessarily. Support for the rtc can be done in a follow on patch
once you have the driver mainlined.
I have a bunch of boards that boot up and think it's 1970...
Afterall, the mirabox doesn't have nand support :-P
thx,
Jason.
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-06-30 20:59 [RFC] Add .dts file for Netgear ReadyNAS 102 Arnaud Ebalard
2013-07-02 12:46 ` Jason Cooper
@ 2013-07-02 13:48 ` Sebastian Hesselbarth
2013-07-02 23:27 ` Arnaud Ebalard
1 sibling, 1 reply; 36+ messages in thread
From: Sebastian Hesselbarth @ 2013-07-02 13:48 UTC (permalink / raw)
To: linux-arm-kernel
On 06/30/13 22:59, Arnaud Ebalard wrote:
> Hi,
>
> Here is a .dts file for Armada-370-based Netgear ReadyNAS 102. The
> purpose of this submission is to get some feedback and also some
> directions on how to proceed to get it included at some point.
[...]
> Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
> ---
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/armada-370-netgear-rn102.dts | 215 +++++++++++++++++++++++++
> 2 files changed, 216 insertions(+)
> create mode 100644 arch/arm/boot/dts/armada-370-netgear-rn102.dts
>
[...]
> diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
> new file mode 100644
> index 0000000..5a9e129
> --- /dev/null
> +++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
> @@ -0,0 +1,215 @@
> +/*
> + * Device Tree file for NETGEAR ReadyNAS 102
> + *
> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version
> + * 2 of the License, or (at your option) any later version.
> + */
> +
> +/dts-v1/;
> +
> +/include/ "armada-370.dtsi"
> +
> +/ {
> + model = "NETGEAR ReadyNAS 102";
> + compatible = "netgear,readynas-102", "marvell,armada370", "marvell,armada-370-xp";
> +
> + chosen {
> + bootargs = "console=ttyS0,115200 earlyprintk";
> + };
> +
> + memory {
> + device_type = "memory";
> + reg = <0x00000000 0x20000000>; /* 512 MB */
> + };
> +
> + soc {
> + internal-regs {
> + serial at 12000 {
> + clock-frequency = <200000000>;
> + status = "okay";
> + };
> +
> + sata at a0000 {
> + nr-ports = <2>;
> + status = "okay";
> + };
> +
> + pinctrl {
> + power_led_pin: power-led-pin {
> + marvell,pins = "mpp57";
> + marvell,function = "gpio";
> + };
> + sata1_led_pin: sata1-led-pin {
> + marvell,pins = "mpp15";
> + marvell,function = "gpio";
> + };
> +
> + sata2_led_pin: sata2-led-pin {
> + marvell,pins = "mpp14";
> + marvell,function = "gpio";
> + };
> +
> + backup_led_pin: backup-led-pin {
> + marvell,pins = "mpp56";
> + marvell,function = "gpio";
> + };
> + };
> +
> + gpio_leds {
Arnaud,
gpio_leds, gpio_keys, and clocks nodes shouldn't be children of
soc/internal-regs. I suggest to move them up as siblings of soc,
memory, and chosen instead.
> + compatible = "gpio-leds";
> + pinctrl-0 = < &power_led_pin
> + &sata1_led_pin
> + &sata2_led_pin
> + &backup_led_pin >;
> + pinctrl-names = "default";
> +
> + blue_power_led {
> + label = "rn102:blue:pwr";
> + gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
> + linux,default-trigger = "heartbeat";
> + };
> +
> + green_sata1_led {
> + label = "rn102:green:sata1";
> + gpios = <&gpio0 15 1>; /* GPIO 15 Active Low */
> + default-state = "on";
> + };
> +
> + green_sata2_led {
> + label = "rn102:green:sata2";
> + gpios = <&gpio0 14 1>; /* GPIO 14 Active Low */
> + default-state = "on";
> + };
> +
> + green_backup_led {
> + label = "rn102:green:backup";
> + gpios = <&gpio1 24 1>; /* GPIO 56 Active Low */
> + default-state = "on";
> + };
> + };
> +
> + gpio_keys {
> + compatible = "gpio-keys";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + button at 1 {
> + label = "Power Button";
> + linux,code = <116>; /* KEY_POWER */
> + gpios = <&gpio1 30 1>;
> + };
> + button at 2 {
> + label = "Reset Button";
> + linux,code = <0x198>; /* KEY_RESTART */
> + gpios = <&gpio0 6 1>;
> + };
> + button at 3 {
> + label = "Backup Button";
> + linux,code = <133>; /* KEY_COPY */
> + gpios = <&gpio1 26 1>;
> + };
> + };
> +
> + mdio {
> + phy0: ethernet-phy at 0 {
> + reg = <0>;
> + };
> + };
> +
> + ethernet at 74000 {
> + status = "okay";
> + phy = <&phy0>;
> + phy-mode = "rgmii-id";
> + };
> +
> + /* Waiting for NAND support to appear in armada-370.dtsi
> +
> + nand at d0000 {
> + status = "okay";
> +
> + partition at 0 {
> + label = "u-boot";
> + reg = <0x0000000 0x180000>;
> + read-only;
> + };
> +
> + partition at 180000 {
> + label = "u-boot-env";
> + reg = <0x180000 0x20000>;
> + };
> +
> + partition at 200000 {
> + label = "uImage";
> + reg = <0x0200000 0x600000>;
> + };
> +
> + partition at 800000 {
> + label = "minirootfs";
> + reg = <0x0800000 0x400000>;
> + };
> +
> + partition at c00000 {
> + label = "ubi";
> + reg = <0x0c00000 0x7400000>;
> + };
> + };
> +
> + */
> +
> + usb at 50000 {
> + status = "okay";
> + };
> +
> + clocks {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + g762_clk: fixedclk {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <8192>;
> + };
> + };
> +
> + i2c at 11000 {
> + compatible = "marvell,mv64xxx-i2c";
> + clock-frequency = <100000>;
> + status = "okay";
> +
> + isl12057: isl12057 at 68 {
> + compatible = "isil,isl12057";
> + reg = <0x68>;
> + wakeup-source;
> + };
> +
> + g762: g762 at 3e {
> + compatible = "gmt,g762";
> + reg = <0x3e>;
> + clocks = <&g762_clk>; /* input clock */
> + fan_gear_mode = <0>;
> + fan_startv = <1>;
> + pwm_polarity = <0>;
> + };
> + };
> +
> + pcie-controller {
> + status = "okay";
> +
> + /* Connected to Marvell SATA controller */
> + pcie at 1,0 {
> + /* Port 0, Lane 0 */
> + status = "okay";
> + };
> +
> + /* Connected to FL1009 USB 3.0 controller */
> + pcie at 2,0 {
> + /* Port 1, Lane 0 */
> + status = "okay";
> + };
> + };
> + };
> + };
> +};
>
^ permalink raw reply [flat|nested] 36+ messages in thread
* [RFC] Add .dts file for Netgear ReadyNAS 102
2013-07-02 13:48 ` Sebastian Hesselbarth
@ 2013-07-02 23:27 ` Arnaud Ebalard
0 siblings, 0 replies; 36+ messages in thread
From: Arnaud Ebalard @ 2013-07-02 23:27 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> writes:
>> + pinctrl {
>> + power_led_pin: power-led-pin {
>> + marvell,pins = "mpp57";
>> + marvell,function = "gpio";
>> + };
>> + sata1_led_pin: sata1-led-pin {
>> + marvell,pins = "mpp15";
>> + marvell,function = "gpio";
>> + };
>> +
>> + sata2_led_pin: sata2-led-pin {
>> + marvell,pins = "mpp14";
>> + marvell,function = "gpio";
>> + };
>> +
>> + backup_led_pin: backup-led-pin {
>> + marvell,pins = "mpp56";
>> + marvell,function = "gpio";
>> + };
>> + };
>> +
>> + gpio_leds {
>
> Arnaud,
>
> gpio_leds, gpio_keys, and clocks nodes shouldn't be children of
> soc/internal-regs. I suggest to move them up as siblings of soc,
> memory, and chosen instead.
Will do that in next round. Thanks for pointing it.
Cheers,
a+
^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~2013-07-04 17:33 UTC | newest]
Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30 20:59 [RFC] Add .dts file for Netgear ReadyNAS 102 Arnaud Ebalard
2013-07-02 12:46 ` Jason Cooper
2013-07-02 13:14 ` Thomas Petazzoni
2013-07-02 13:33 ` Jason Cooper
2013-07-02 13:38 ` Thomas Petazzoni
2013-07-02 13:44 ` Jason Cooper
2013-07-02 13:49 ` Willy Tarreau
2013-07-02 14:24 ` Jason Cooper
2013-07-02 17:22 ` Arnaud Ebalard
2013-07-02 17:41 ` Jason Cooper
2013-07-02 21:48 ` Arnaud Ebalard
[not found] ` <20130702220936.GC10215@1wt.eu>
2013-07-02 23:23 ` Ezequiel Garcia
2013-07-03 4:33 ` Willy Tarreau
2013-07-03 22:33 ` Ezequiel Garcia
2013-07-03 22:38 ` Willy Tarreau
2013-07-03 7:42 ` Thomas Petazzoni
2013-07-03 13:00 ` Ezequiel Garcia
2013-07-03 19:07 ` Willy Tarreau
2013-07-03 19:10 ` Jason Cooper
2013-07-03 19:38 ` Willy Tarreau
2013-07-03 19:39 ` Jason Cooper
2013-07-04 13:59 ` Thomas Petazzoni
2013-07-04 14:01 ` Willy Tarreau
2013-07-04 17:33 ` Jason Cooper
2013-07-03 20:21 ` Jason Cooper
2013-07-03 20:35 ` Willy Tarreau
2013-07-03 20:44 ` Jason Cooper
2013-07-03 21:14 ` Willy Tarreau
2013-07-03 22:23 ` Willy Tarreau
2013-07-03 22:58 ` Arnaud Ebalard
2013-07-04 6:15 ` Willy Tarreau
2013-07-03 21:05 ` Arnaud Ebalard
2013-07-02 17:21 ` Arnaud Ebalard
2013-07-02 17:38 ` Jason Cooper
2013-07-02 13:48 ` Sebastian Hesselbarth
2013-07-02 23:27 ` Arnaud Ebalard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).