Marvell 88e6161 switch stop working when the kernel upgrade to 4.9.x

I have a device using modifed dts myself,it worked fine with 4.4.x kernel.
Below is the hardware info of my device:

   CPU:1.2 GHz ARM Marvell 88F6281 
   Memory:64M NAND Flash,512M DDR2 800 
   Storage:SDx1,SATAx1,USB 2.0x2 
   Network:88E6161 Switch chip with 5 gigabit port,88E1116 with 1 gigabit wan port 

And the device tree modified by myself:

/*
 * Marvell RD88F6181 A Board descrition
 *
 * Andrew Lunn <andrew@lunn.ch>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 *
 * This file contains the definitions for the board with the A0 or
 * higher stepping of the SoC. The ethernet switch does not have a
 * "wan" port.
 */

/dts-v1/;
#include "kirkwood.dtsi"
#include "kirkwood-6281.dtsi"

/ {
	model = "QiZhiTong 501M V2";
	compatible = "qizhitong,501m_v2","marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";

	chosen {
		bootargs = "console=ttyS0,9600n8 earlyprintk";
	};

	mbus {
		pcie-controller {
			status = "okay";

			pcie@1,0 {
				status = "okay";
			};

		};
	};

	ocp@f1000000 {
		pinctrl: pin-controller@10000 {
			pinctrl-names = "default";

			pmx_sdio_cd: pmx-sdio-cd {
				marvell,pins = "mpp28";
				marvell,function = "gpio";
			};
		};

		serial@12000 {
			status = "okay";

		};

		sata@80000 {
			status = "okay";
			nr-ports = <1>;
		};

		mvsdio@90000 {
			pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
			pinctrl-names = "default";
			status = "okay";
			cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
			/* No WP GPIO */
		};
	};
	
	dsa@0 {
		compatible = "marvell,dsa";
		#address-cells = <2>;
		#size-cells = <0>;
		
		interrupts = <10>;
		dsa,ethernet = <&eth0port>;
		dsa,mii-bus = <&mdio>;

		switch@0 {
			#address-cells = <1>;
			#size-cells = <0>;
			status = "okay";
			reg = <10 0>;
			
			port@0 {
				reg = <0>;
				label = "lan1";
			};

			port@1 {
			       reg = <1>;
			       label = "lan2";
			};

			port@2 {
			       reg = <2>;
			       label = "lan3";
			};

			port@3 {
			       reg = <3>;
			       label = "lan4";
			};

			port@4 {
				reg = <4>;
				label = "aux";
			};

			port@5 {
			       reg = <5>;
			       label = "cpu";
			};
		};
	};
};

&nand {
	status = "okay";

	partition@0 {
		label = "u-boot";
		reg = <0x0000000 0x100000>;
		read-only;
	};

	partition@100000 {
		label = "kernel";
		reg = <0x0100000 0x400000>;
	};

	partition@500000 {
		label = "ubi";
		reg = <0x0500000 0x3b00000>;
	};
};

&mdio {
	status = "okay";
};

&eth0 {
	status = "okay";	
	ethernet0-port@0 {
		speed = <1000>;
		duplex = <1>;
	};
};

&eth1 {
	status = "okay";	
};

Boot log after the kernel upgrade to 4.9.x:

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ffe00 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 02000000 ...
   Image Name:   ARM LEDE Linux-4.9.36
   Created:      2017-07-08  21:19:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2027604 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.36 (Wacke@HOME-Server) (gcc version 7.1.0 (LEDE GCC 7.1.0 r4235-61eb18d3f7) ) #0 Sat Jul 8 21:19:31 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: QiZhiTong 501M V2
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,9600
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 513276K/524288K available (4418K kernel code, 281K rwdata, 1208K rodata, 248K init, 225K bss, 11012K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0458dc8   (4420 kB)
[    0.000000]       .init : 0xc0588000 - 0xc05c6000   ( 248 kB)
[    0.000000]       .data : 0xc05c6000 - 0xc060c540   ( 282 kB)
[    0.000000]        .bss : 0xc060c540 - 0xc0644970   ( 226 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000087] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090092] pid_max: default: 32768 minimum: 301
[    0.090226] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090245] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091034] CPU: Testing write buffer coherency: ok
[    0.091408] Setting up static identity map for 0x81e0 - 0x821c
[    0.091674] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.096847] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.096874] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.096985] pinctrl core: initialized pinctrl subsystem
[    0.098091] NET: Registered protocol family 16
[    0.098829] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.100380] cpuidle: using governor ladder
[    0.100715] Feroceon L2: Enabling L2
[    0.100755] Feroceon L2: Cache support initialised.
[    0.101032] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.101139] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.106041] No ATAGs?
[    0.126316] SCSI subsystem initialized
[    0.127238] usbcore: registered new interface driver usbfs
[    0.127335] usbcore: registered new interface driver hub
[    0.127416] usbcore: registered new device driver usb
[    0.129868] clocksource: Switched to clocksource orion_clocksource
[    0.147993] NET: Registered protocol family 2
[    0.148681] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.148758] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.148831] TCP: Hash tables configured (established 4096 bind 4096)
[    0.148975] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.149005] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.149210] NET: Registered protocol family 1
[    0.152485] Crashlog allocated RAM at address 0x3f00000
[    0.153012] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.162570] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.162585] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.171478] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.171494] io scheduler noop registered
[    0.171503] io scheduler deadline registered (default)
[    0.172828] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.216307] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.217423] console [ttyS0] disabled
[    0.217494] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    5.218748] console [ttyS0] enabled
[    5.261699] sata_mv f1080000.sata: slots 32 ports 1
[    5.322665] scsi host0: sata_mv
[    5.360753] ata1: SATA max UDMA/133 irq 32
[    5.410348] nand: device found, Manufacturer ID: 0x20, Chip ID: 0x76
[    5.486435] nand: ST Micro NAND 64MiB 3,3V 8-bit
[    5.541736] nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    5.629342] Scanning device for bad blocks
[    5.809076] Bad eraseblock 2455 at 0x00000265c000
[    5.952634] 3 ofpart partitions found on MTD device orion_nand
[    6.022539] Creating 3 MTD partitions on "orion_nand":
[    6.084106] 0x000000000000-0x000000100000 : "u-boot"
[    6.145509] 0x000000100000-0x000000500000 : "kernel"
[    6.206449] 0x000000500000-0x000004000000 : "ubi"
[    6.267732] libphy: Fixed MDIO Bus: probed
[    6.316807] libphy: mdio_driver_register: mv88e6085
[    6.375537] libphy: orion_mdio_bus: probed
[    6.424768] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.507682] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:90:0b:19:ee:25
[    6.612609] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:90:0b:19:ee:26
[    6.716941] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.795094] ehci-pci: EHCI PCI platform driver
[    6.848395] ehci-orion: EHCI orion driver
[    6.896511] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.962206] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.054094] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    7.149893] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.222625] hub 1-0:1.0: USB hub found
[    7.267554] ata1: SATA link down (SStatus 0 SControl F300)
[    7.333492] hub 1-0:1.0: 1 port detected
[    7.381007] usbcore: registered new interface driver usb-storage
[    7.453263] rtc-mv f1010300.rtc: invalid RTC date, resetting to January 1st, 2013
[    7.543202] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    7.625629] i2c /dev entries driver
[    7.668199] orion_wdt: Initial timeout 21 sec
[    7.721023] mvsdio f1090000.mvsdio: Got CD GPIO
[    7.835630] marvell-cesa f1030000.crypto: CESA device successfully registered
[    7.922043] NET: Registered protocol family 10
[    7.977256] NET: Registered protocol family 17
[    8.030612] Distributed Switch Architecture driver version 0.1
[    8.101239] dsa dsa@0: switch 0x161 detected: Marvell 88E6161, revision 2
[    8.182764] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.268239] libphy: mv88e6xxx SMI: probed
[    8.316279] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: detected a Marvell 88E6161 switch
[    8.418951] random: fast init done
[    8.530925] hub 1-1:1.0: USB hub found
[    8.577118] hub 1-1:1.0: 2 ports detected
[    8.684623] dsa dsa@0 lan1: no phy at 0
[    8.730513] dsa dsa@0 lan1: failed to connect to port 0: -19
[    8.798303] mv643xx_eth_port mv643xx_eth_port.0 eth0: error -19 setting up slave phy
[    8.892152] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: can't create dsa slave device for port 0(lan1): -19
[    9.012813] dsa dsa@0 lan2: no phy at 1
[    9.058730] dsa dsa@0 lan2: failed to connect to port 1: -19
[    9.126515] mv643xx_eth_port mv643xx_eth_port.0 eth0: error -19 setting up slave phy
[    9.220246] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: can't create dsa slave device for port 1(lan2): -19
[    9.340886] dsa dsa@0 lan3: no phy at 2
[    9.386815] dsa dsa@0 lan3: failed to connect to port 2: -19
[    9.454618] mv643xx_eth_port mv643xx_eth_port.0 eth0: error -19 setting up slave phy
[    9.548303] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: can't create dsa slave device for port 2(lan3): -19
[    9.668873] dsa dsa@0 lan4: no phy at 3
[    9.714819] dsa dsa@0 lan4: failed to connect to port 3: -19
[    9.782620] mv643xx_eth_port mv643xx_eth_port.0 eth0: error -19 setting up slave phy
[    9.876292] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: can't create dsa slave device for port 3(lan4): -19
[    9.996879] dsa dsa@0 aux: no phy at 4
[   10.041777] dsa dsa@0 aux: failed to connect to port 4: -19
[   10.108535] mv643xx_eth_port mv643xx_eth_port.0 eth0: error -19 setting up slave phy
[   10.202232] mv643xx_eth_port mv643xx_eth_port.0 eth0: [0]: can't create dsa slave device for port 4(aux): -19
[   10.321108] 8021q: 802.1Q VLAN Support v1.8
[   10.374745] UBI: auto-attach mtd2
[   10.414491] ubi0: attaching mtd2
[   10.780000] ubi0: scanning is finished
[   10.837309] ubi0: attached mtd2 (name "ubi", size 59 MiB)
[   10.902052] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
[   10.981283] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
[   11.059513] ubi0: VID header offset: 256 (aligned 256), data offset: 512
[   11.139814] ubi0: good PEBs: 3775, bad PEBs: 1, corrupted PEBs: 0
[   11.212834] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 92
[   11.298347] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1944562274
[   11.407822] ubi0: available PEBs: 0, total reserved PEBs: 3775, PEBs reserved for bad PEB handling: 79
[   11.520057] ubi0: background thread "ubi_bgt0d" started, PID 928
[   11.592765] block ubiblock0_0: created from ubi0:0(rootfs)
[   11.658449] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[   11.741893] rtc-mv f1010300.rtc: setting system clock to 2013-01-01 07:30:38 UTC (1357025438)
[   11.849226] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[   11.935643] Freeing unused kernel memory: 248K (c0588000 - c05c6000)
[   12.011789] This architecture does not have kernel memory protection.
[   12.468476] init: Console is alive
[   12.509386] init: - watchdog -
[   12.586961] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   16.669118] mount_root: loading kmods from internal overlay
[   16.742047] mount_root: failed to launch kmodloader from internal overlay
[   17.246647] UBIFS (ubi0:1): recovery needed
[   17.296939] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 991
[   17.401698] UBIFS (ubi0:1): recovery completed
[   17.455036] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   17.548907] UBIFS (ubi0:1): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
[   17.663576] UBIFS (ubi0:1): FS size: 18141696 bytes (17 MiB, 1143 LEBs), journal size 904704 bytes (0 MiB, 57 LEBs)
[   17.788672] UBIFS (ubi0:1): reserved for root: 856876 bytes (836 KiB)
[   17.865850] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 02F58B8F-FB81-4062-A392-A88D1F70FEB1, small LPT model
[   18.003790] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   18.089520] block: extroot: not configured
[   18.138712] UBIFS (ubi0:1): un-mount UBI device 0
[   18.195013] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   18.280441] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 993
[   18.370784] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   18.464569] UBIFS (ubi0:1): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
[   18.579246] UBIFS (ubi0:1): FS size: 18141696 bytes (17 MiB, 1143 LEBs), journal size 904704 bytes (0 MiB, 57 LEBs)
[   18.704337] UBIFS (ubi0:1): reserved for root: 856876 bytes (836 KiB)
[   18.781519] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 02F58B8F-FB81-4062-A392-A88D1F70FEB1, small LPT model
[   19.119249] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   19.204742] block: extroot: not configured
[   19.255001] mount_root: switching to ubifs overlay
[   19.320062] urandom-seed: Seeding with /etc/urandom.seed
[   19.443355] procd: - early -
[   19.478369] procd: - watchdog -
[   20.559439] procd: - watchdog -
[   20.598323] procd: - ubus -
[   20.825977] procd: - init -
Please press Enter to activate this console.
[  116.349916] random: crng init done 

Seems that driver can't find phy on 88e6161 switch.

Is there anyone can help me to get this switch working on kernel 4.9.x?Thanks.

Saw a message for this from 2015-11. My first guess it that you should try a more recent kernel. 4.9.60 is most current and you are trying 4.9.36.

What is this device QiZhiTong 501M V2? Maybe the makers of it can help?

I am curious about this Marvel chip set since it is in the Steam Link.

This issue was fixed by upgrade the kernel to 4.12.x,and waiting for the lede update the kernel to 4.12.x,thanks for your reply.

LEDE will probably release with 4.9, and 4.14 is the next LTS after that. It would be better for you (and other owners of your device) to file a request for inclusion/bug report on the 4.4 to 4.9 transition, so it can get fixed before a new release.

I think it was a kernel driver issue,this 88e6161 switch use the kernel built in dsa driver.
All the discuss was in this forum:https://forum.doozan.com/read.php?2,24443,page=1
And the boot log of the kernel 4.12.x:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.11 (Wacke@HOME-Server) (gcc version 7.2.0 (LEDE GCC 7.2.0 r4851-9fc5df52ff) ) #0 Mon Sep 18 19:29:16 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: QiZhiTong 501M V2
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c06d3120, node_mem_map dfbfa000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,9600 rootdelay=1 root=/dev/mtdblock2 rootfstype=squashfs
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512448K/524288K available (5005K kernel code, 323K rwdata, 1372K rodata, 264K init, 235K bss, 11840K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   modules : 0xbf000000 - 0xc0000000   (  16 MB)
                     .text : 0xc0008000 - 0xc04eb690   (5006 kB)
                     .init : 0xc0644000 - 0xc0686000   ( 264 kB)
                     .data : 0xc0686000 - 0xc06d6f30   ( 324 kB)
                      .bss : 0xc06d6f30 - 0xc0711e70   ( 236 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000039] Switching to timer-based delay loop, resolution 5ns
[    0.000112] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000135] pid_max: default: 32768 minimum: 301
[    0.000264] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000281] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000851] CPU: Testing write buffer coherency: ok
[    0.001522] Setting up static identity map for 0x81e0 - 0x821c
[    0.001777] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005921] VFP support v0.3: not present
[    0.006099] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006122] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.006207] pinctrl core: initialized pinctrl subsystem
[    0.007136] NET: Registered protocol family 16
[    0.007530] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008707] cpuidle: using governor ladder
[    0.009116] Feroceon L2: Enabling L2
[    0.009156] Feroceon L2: Cache support initialised.
[    0.009420] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.009530] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.013727] No ATAGs?
[    0.032066] SCSI subsystem initialized
[    0.032520] libata version 3.00 loaded.
[    0.032815] usbcore: registered new interface driver usbfs
[    0.032891] usbcore: registered new interface driver hub
[    0.032959] usbcore: registered new device driver usb
[    0.035170] clocksource: Switched to clocksource orion_clocksource
[    0.059064] NET: Registered protocol family 2
[    0.059669] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.059729] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.059781] TCP: Hash tables configured (established 4096 bind 4096)
[    0.059865] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.059888] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.060028] NET: Registered protocol family 1
[    0.060060] PCI: CLS 0 bytes, default 32
[    0.063055] Crashlog allocated RAM at address 0x3f00000
[    0.063523] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.076538] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.076824] ntfs: driver 2.1.32 [Flags: R/W].
[    0.077166] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.083666] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.083679] io scheduler noop registered (default)
[    0.084947] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.086545] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    0.086563] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.086576] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.086589] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.086623] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    0.086845] PCI: bus0: Fast back to back transfers disabled
[    0.086861] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.087011] pci 0000:01:00.0: [168c:0030] type 00 class 0x028000
[    0.087049] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x4001ffff 64bit]
[    0.087093] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.087168] pci 0000:01:00.0: supports D1
[    0.087176] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    0.087346] PCI: bus1: Fast back to back transfers disabled
[    0.087363] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.087484] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    0.087507] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe001ffff 64bit]
[    0.087531] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0020000-0xe002ffff pref]
[    0.087545] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.087561] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.087636] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    0.119424] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.120459] console [ttyS0] disabled
[    0.120534] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    6.368759] console [ttyS0] enabled
[    6.411450] sata_mv f1080000.sata: version 1.28
[    6.411650] sata_mv f1080000.sata: slots 32 ports 1
[    6.472289] scsi host0: sata_mv
[    6.510114] ata1: SATA max UDMA/133 irq 32
[    6.559581] nand: device found, Manufacturer ID: 0x20, Chip ID: 0x76
[    6.635718] nand: ST Micro NAND 64MiB 3,3V 8-bit
[    6.691017] nand: 64 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    6.778620] Scanning device for bad blocks
[    7.045777] 3 ofpart partitions found on MTD device orion_nand
[    7.115691] Creating 3 MTD partitions on "orion_nand":
[    7.177240] 0x000000000000-0x000000100000 : "u-boot"
[    7.237784] 0x000000100000-0x000000500000 : "kernel"
[    7.298607] 0x000000500000-0x000004000000 : "ubi"
[    7.359891] libphy: Fixed MDIO Bus: probed
[    7.409798] libphy: orion_mdio_bus: probed
[    7.461851] mv88e6085 f1072004.mdio-bus-mii:0a: switch 0x161 detected: Marvell 88E6161, revision 3
[    7.569233] ata1: SATA link down (SStatus 0 SControl F300)
[    7.653300] random: fast init done
[    7.872989] libphy: mv88e6xxx SMI: probed
[    7.922004] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.004894] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:90:0b:1d:38:44
[    9.206953] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:90:0b:1d:38:45
[    9.311219] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.389387] ehci-pci: EHCI PCI platform driver
[    9.442682] ehci-platform: EHCI generic platform driver
[    9.505371] ehci-orion: EHCI orion driver
[    9.553520] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.619311] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.711156] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    9.805190] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.877909] hub 1-0:1.0: USB hub found
[    9.923004] hub 1-0:1.0: 1 port detected
[    9.970424] usbcore: registered new interface driver uas
[   10.034179] usbcore: registered new interface driver usb-storage
[   10.106193] usbcore: registered new interface driver ums-realtek
[   10.178594] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[   10.261051] i2c /dev entries driver
[   10.303498] orion_wdt: Initial timeout 21 sec
[   10.356710] mvsdio f1090000.mvsdio: Got CD GPIO
[   10.467568] MV-CESA:Could not register sha1 driver
[   10.524954] MV-CESA:Could not register hmac-sha1 driver
[   10.587873] Netfilter messages via NETLINK v0.30.
[   10.644476] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   10.719352] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[   10.797563] ip_set: protocol 6
[   10.834706] NET: Registered protocol family 10
[   10.889646] Segment Routing with IPv6
[   10.933541] NET: Registered protocol family 17
[   10.986943] 8021q: 802.1Q VLAN Support v1.8
[   11.037847] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.121716] mv88e6085 f1072004.mdio-bus-mii:0a: switch 0x161 detected: Marvell 88E6161, revision 3
[   11.346231] hub 1-1:1.0: USB hub found
[   11.391378] hub 1-1:1.0: 2 ports detected
[   11.524588] libphy: mv88e6xxx SMI: probed
[   11.572638] DSA: switch 0 0 parsed
[   11.613305] DSA: tree 0 parsed
[   12.636746] Marvell 88E1121R mv88e6xxx-1:00: attached PHY driver [Marvell 88E1121R] (mii_bus:phy_addr=mv88e6xxx-1:00, irq=-1)
[   12.871371] random: crng init done
[   12.918330] Marvell 88E1121R mv88e6xxx-1:01: attached PHY driver [Marvell 88E1121R] (mii_bus:phy_addr=mv88e6xxx-1:01, irq=-1)
[   13.174415] Marvell 88E1121R mv88e6xxx-1:02: attached PHY driver [Marvell 88E1121R] (mii_bus:phy_addr=mv88e6xxx-1:02, irq=-1)
[   13.420100] Marvell 88E1121R mv88e6xxx-1:03: attached PHY driver [Marvell 88E1121R] (mii_bus:phy_addr=mv88e6xxx-1:03, irq=-1)
[   13.669609] Marvell 88E1121R mv88e6xxx-1:04: attached PHY driver [Marvell 88E1121R] (mii_bus:phy_addr=mv88e6xxx-1:04, irq=-1)
[   13.808564] UBI: auto-attach mtd2
[   13.848285] ubi0: attaching mtd2
[   14.209862] ubi0: scanning is finished
[   14.266758] ubi0: attached mtd2 (name "ubi", size 59 MiB)
[   14.331499] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
[   14.410734] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
[   14.488962] ubi0: VID header offset: 256 (aligned 256), data offset: 512
[   14.569265] ubi0: good PEBs: 3776, bad PEBs: 0, corrupted PEBs: 0
[   14.642283] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 92
[   14.727797] ubi0: max/mean erase counter: 75/26, WL threshold: 4096, image sequence number: 70779357
[   14.837275] ubi0: available PEBs: 0, total reserved PEBs: 3776, PEBs reserved for bad PEB handling: 80
[   14.949187] ubi0: background thread "ubi_bgt0d" started, PID 1040
[   15.022923] block ubiblock0_0: created from ubi0:0(rootfs)
[   15.088628] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[   15.172067] rtc-mv f1010300.rtc: setting system clock to 2017-10-02 04:47:37 UTC (1506919657)
[   15.274978] Waiting 1 sec before mounting root device...
[   16.409583] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[   16.495877] Freeing unused kernel memory: 264K
[   16.549040] This architecture does not have kernel memory protection.
[   17.010329] init: Console is alive
[   17.051236] init: - watchdog -
[   18.160037] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   18.298831] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   18.395701] init: - preinit -
[   22.483616] mount_root: loading kmods from internal overlay
[   22.577988] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   22.663933] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   23.163543] UBIFS (ubi0:1): recovery needed
[   23.213832] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 1118
[   23.320829] UBIFS (ubi0:1): recovery completed
[   23.374108] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   23.467991] UBIFS (ubi0:1): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes
[   23.582657] UBIFS (ubi0:1): FS size: 18951168 bytes (18 MiB, 1194 LEBs), journal size 952320 bytes (0 MiB, 60 LEBs)
[   23.707752] UBIFS (ubi0:1): reserved for root: 895110 bytes (874 KiB)
[   23.784933] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 7D72135F-4A38-4465-A52D-5D98576447C6, small LPT model
[   23.922597] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   24.040546] mount_root: switched to extroot
[   24.093218] urandom-seed: Seeding with /etc/urandom.seed
[   24.227000] procd: - early -
[   24.261548] procd: - watchdog -
[   25.304332] procd: - watchdog -
[   25.361486] procd: - ubus -
[   25.508293] procd: - init -
[   26.055805] kmodloader: loading kernel modules from /etc/modules.d/*
[   26.285237] tun: Universal TUN/TAP device driver, 1.6
[   26.417586] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   26.552022] l2tp_core: L2TP core driver, V2.0
[   26.656244] l2tp_netlink: L2TP netlink interface
[   26.766652] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   26.914848] gre: GRE over IPv4 demultiplexor driver
[   27.029985] ip_gre: GRE over IPv4 tunneling driver
[   27.151155] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   27.331575] Loading modules backported from Linux version v4.13-rc6-0-g14ccee78fc82
[   27.423376] Backport generated by backports.git backports-20160324-132-ga06b3d59
[   27.830316] u32 classifier
[   27.862706]     input device check on
[   27.906543]     Actions configured
[   28.054920] Mirror/redirect action on
[   28.177468] fuse init (API version 7.26)
[   28.339896] Broadcom 43xx driver loaded [ Features: PNL ]
[   28.486277] usbcore: registered new interface driver cdc_wdm
[   28.630392] ip_tables: (C) 2000-2006 Netfilter Core Team
[   28.756485] lib80211: common routines for IEEE802.11 drivers
[   28.824324] lib80211_crypt: registered algorithm 'NULL'
[   28.896021] lib80211_crypt: registered algorithm 'CCMP'
[   28.897152] lib80211_crypt: registered algorithm 'TKIP'
[   28.898106] lib80211_crypt: registered algorithm 'WEP'
[   28.902525] ctnetlink v0.93: registering with nfnetlink.
[   29.115414] wireguard: WireGuard 0.0.20170918 loaded. See www.wireguard.com for information.
[   29.216586] wireguard: Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   29.590835] xt_time: kernel timezone is -0000
[   29.709919] usbcore: registered new interface driver ath9k_htc
[   29.869876] PPP generic driver version 2.4.2
[   29.975609] PPP MPPE Compression module registered
[   30.088534] NET: Registered protocol family 24
[   30.196500] PPTP driver version 0.8.5
[   30.287107] usbcore: registered new interface driver qmi_wwan
[   30.435673] ath: EEPROM regdomain: 0x88
[   30.435680] ath: EEPROM indicates we should expect a direct regpair map
[   30.435688] ath: Country alpha2 being used: JP
[   30.435691] ath: Regpair used: 0x88
[   30.444603] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.447559] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xe10c0000, irq=34
[   30.637883] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   30.755375] kmodloader: done loading kernel modules from /etc/modules.d/*
[   44.173079] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   44.765530] br-lan: port 1(lan1) entered blocking state
[   44.828091] br-lan: port 1(lan1) entered disabled state
[   45.382686] device lan1 entered promiscuous mode
[   45.438048] device eth0 entered promiscuous mode
[   45.873347] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   46.046178] mv88e6085 f1072004.mdio-bus-mii:0a lan1: Link is Down
[   46.217357] br-lan: port 2(lan2) entered blocking state
[   46.279984] br-lan: port 2(lan2) entered disabled state
[   46.604778] device lan2 entered promiscuous mode
[   46.884090] br-lan: port 3(lan3) entered blocking state
[   46.946784] br-lan: port 3(lan3) entered disabled state
[   47.325898] device lan3 entered promiscuous mode
[   47.428114] mv88e6085 f1072004.mdio-bus-mii:0a lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   47.648567] br-lan: port 4(lan4) entered blocking state
[   47.711141] br-lan: port 4(lan4) entered disabled state
[   47.910723] device lan4 entered promiscuous mode
[   47.967923] br-lan: port 1(lan1) entered blocking state
[   48.030505] br-lan: port 1(lan1) entered listening state
[   48.143997] mv88e6085 f1072004.mdio-bus-mii:0a lan2: Link is Down
[   48.409658] br-lan: port 5(aux) entered blocking state
[   48.471201] br-lan: port 5(aux) entered disabled state
[   48.824551] device aux entered promiscuous mode
[   48.977285] mv88e6085 f1072004.mdio-bus-mii:0a lan3: Link is Down
[   50.165209] br-lan: port 1(lan1) entered learning state
[   51.371306] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   51.516386] mv88e6085 f1072004.mdio-bus-mii:0a lan4: Link is Down
[   51.600843] mv88e6085 f1072004.mdio-bus-mii:0a aux: Link is Down
[   51.690308] mv88e6085 f1072004.mdio-bus-mii:0a lan2: Link is Up - 1Gbps/Full - flow control rx/tx

Best thing would be to have this backported then, LEDE developers do it all the time.