[PATCH 2/2] [POWERPC] 4xx: Add AMCC Haleakala (405EXr) dts

David Gibson david at gibson.dropbear.id.au
Wed Jan 16 11:46:42 EST 2008


On Tue, Jan 15, 2008 at 08:09:25AM +0100, Stefan Roese wrote:
> The patch adds the Haleakala dts. The Haleakala is a stripped down
> version of the Kilauea (405EX) with only one EMAC and only one PCIe
> interface.

[snip]
> +			IIC0: i2c at ef600400 {
> +				device_type = "i2c";

No device_type here.

> +				compatible = "ibm,iic-405exr", "ibm,iic";
> +				reg = <ef600400 14>;
> +				interrupt-parent = <&UIC0>;
> +				interrupts = <2 4>;
> +			};
> +
> +			IIC1: i2c at ef600500 {
> +				device_type = "i2c";

Or here.

> +				compatible = "ibm,iic-405exr", "ibm,iic";
> +				reg = <ef600500 14>;
> +				interrupt-parent = <&UIC0>;
> +				interrupts = <7 4>;
> +			};
> +
> +
> +			RGMII0: emac-rgmii at ef600b00 {
> +				device_type = "rgmii-interface";

And especially not here.

> +				compatible = "ibm,rgmii-405exr", "ibm,rgmii";
> +				reg = <ef600b00 104>;
> +				has-mdio;
> +			};

[snip]
> +		PCIE0: pciex at 0a0000000 {
> +			device_type = "pci";
> +			#interrupt-cells = <1>;
> +			#size-cells = <2>;
> +			#address-cells = <3>;
> +			compatible = "ibm,plb-pciex-405exr", "ibm,plb-pciex";
> +			primary;
> +			port = <0>; /* port number */
> +			reg = <a0000000 20000000	/* Config space access */
> +			       ef000000 00001000>;	/* Registers */
> +			dcr-reg = <040 020>;
> +			sdr-base = <400>;

Oh, for crying out loud.  They put dcrs on the bridge as well as MMIO
registers. *facepalm*

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list