The PORT_RATE_CONTROL register works differently on 88e6095/6095f/6131
in comparison to 6123/61/65, and 0x0 disables. The distinction was lost
Linux 4.1 --> 4.2
Signed-off-by: Jamie Lentin
---
Tested on a Netgear WNR854T With a mv88e6131 switch chip, on top of
Andrew Lunn's 6131 tagg
back support for
switches which only support DSA, by allowing the drivers to
dynamically indicate the tagging protocol they support to the DSA
core. This needs to be dynamic since the mv88e6xxx has to support two
protocols.
Thanks go to Jamie Lentin for reporting the problem, helping debug it
lt;1000>;
- duplex = <1>;
-};
};
here you do need the fixed link, otherwise it thinks there is a PHY
connected and tried to do auto-negotiation. That will never work.
Andrew
--
Jamie Lentin
On Sun, 17 Jul 2016, Rob Herring wrote:
On Sat, Jul 16, 2016 at 03:29:04PM +0100, Jamie Lentin wrote:
This is a router based on the mv88f5181 chipset.
http://www.netgear.com/support/product/WNR854T.aspx
http://wiki.openwrt.org/toh/netgear/wnr854t
Signed-off-by: Jamie Lentin
GPIO controller is available.
I was also hoping that we could get to the point where pci_common_init()
is only used for legacy machines without DT and without multiplatform,
it seems I missed a couple of users here.
Arnd
--
Jamie Lentin
useful to shed the background noise and/or try something in
particular. Thanks for the help!
Andrew
[0]
https://github.com/lentinj/linux/tree/wnr854t-support-v0b-net-next-experiment
[1] https://github.com/lentinj/linux/tree/wnr854t-support-v0a-rebase-4.7-rc7
--
Jamie Lentin
On Sat, 16 Jul 2016, Arnd Bergmann wrote:
On Saturday, July 16, 2016 3:29:04 PM CEST Jamie Lentin wrote:
+
+#define WNR854T_PCI_SLOT0_OFFS 7
+#define WNR854T_PCI_SLOT0_IRQ_PIN 4
+
+static void __init wnr854t_pci_preinit(void)
+{
+ int pin;
+
+ /*
+* Configure PCI GPIO
orion-wdt refuses to start without these properties defined, so lift
definitions out of kirkwood/dove.dtsi
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/orion5x.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts
The default bootloader leaves the LEDs orange, and the 88E1121R driver
applies it's own inappropriate configuration. Configure as per manual,
i.e. orange = 100 / green = 1000 / blink = activity
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
This is a router based on the mv88f5181 chipset.
http://www.netgear.com/support/product/WNR854T.aspx
http://wiki.openwrt.org/toh/netgear/wnr854t
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 1 +
arch/arm/boot/dts/Makefile | 1
As far as I'm aware the mv88f5181-b1 and mv88f5181l are the same at the
pinctrl level, so re-use the definitions for both.
Signed-off-by: Jamie Lentin
---
.../bindings/pinctrl/marvell,orion-pinctrl.txt | 4 ++--
drivers/pinctrl/mvebu/pinctrl-orion.c
Referring to values in the u-boot port, add support for the mv88f5181
Signed-off-by: Jamie Lentin
---
.../devicetree/bindings/clock/mvebu-core-clock.txt | 1 +
drivers/clk/mvebu/orion.c | 70 ++
2 files changed, 71 insertions(+)
diff --git a
ollowing patch:
https://github.com/lentinj/linux/commit/d6b7b4695b7dcbf36d0663aea9cb4ecd65a1ada8
...but this is probably a matter for another thread.
Cheers,
[0] http://thread.gmane.org/gmane.linux.network/120616/focus=121320
[1]
https://github.com/lentinj/linux/commit/a4bceebb08ecdc25a4d49e23f2abad2148
If PHY is registered via. a DSA switch, the MDIO bus the phy is on does
not exist in devicetree, but there may be a reference to the PHY node
on the physical MDIO bus to use.
Signed-off-by: Jamie Lentin
---
drivers/net/phy/marvell.c | 22 --
1 file changed, 16 insertions
Copy the format for kirkwood/dove to orion5x
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
diff --git a
Signed-off-by: Jamie Lentin
---
arch/arm/mach-orion5x/Makefile| 1 -
arch/arm/mach-orion5x/wnr854t-setup.c | 185 --
2 files changed, 186 deletions(-)
delete mode 100644 arch/arm/mach-orion5x/wnr854t-setup.c
diff --git a/arch/arm/mach-orion5x/Makefile
marvell,reg-init is generally used to apply a custom LED configuration
on boot. However this is then blatted in m88e1121_config_aneg when the
interface is brought up. Re-apply any custom configuration afterwards,
to keep custom LED configuration.
Signed-off-by: Jamie Lentin
---
drivers/net/phy
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 1 +
arch/arm/boot/dts/orion5x-mv88f5181.dtsi | 35 ++
2 files changed, 36 insertions(+)
create mode 100644 arch/arm/boot/dts/orion5x-mv88f5181.dtsi
diff --git a/Documentation
18 matches
Mail list logo