Quantcast
Channel: Debian on Shuttle KD20 (PLX OXNAS 7821)
Viewing all articles
Browse latest Browse all 141

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Peacemaker,

I think you could start with the DTS. You already made the change to 2 SATA ports in the driver. But the DTS needs another entry for the 2nd port. The things to look for is the settings in that entry. I don't know how hard it is to find it in the GPL for this box, but I assume it is possible.

./arch/arm/boot/dts/ox820.dtsi

	sata@45900000 {
		compatible = "plxtech,nas782x-sata";
			/*	port		sgdma		core	*/
		reg = <0x45900000 0x100>, <0x459B0000 0x10>, <0x459E0000 0x2000>,
			/*	phy		descriptors (optional)	*/
			<0x44900000 0x0C>, <0x50000000 0x1000>;
		interrupts = <0 18 0x304>;
		clocks = <&stdclk 4>;
		resets = <&rst 11>, <&rst 12>, <&rst 13>;
		reset-names = "sata", "link", "phy";
		status = "disabled";
	};

:) and if you had a Kirkwood device, then it would have been a lot easier.

Viewing all articles
Browse latest Browse all 141

Trending Articles