loading NOR flash from DT

Scott Wood scottwood at freescale.com
Thu Oct 18 06:17:59 EST 2007


Sebastian Siewior wrote:
> 	flash at fc000000 {

It's probably not getting probed, because it's not under a probed bus.
Try adding the root node to the list passed to of_platform_bus_probe().

> 			compatible = "amd,s29gl512n", "cfi-flash";
> 			reg = <fc000000 4000000>;
> 			bank-width = <2>;
> 			#address-cells = <1>;
> 			#size-cells = <1>;
> 			fs at 0 {
> 					label = "fs";
> 					reg = <0 f80000>;
> 			};
> 			firmware at f80000 {
> 					label ="firmware";
> 					reg = <f80000 80000>;
> 					read-only;
> 			};
> 
> 	soc8544 at e0000000 {

Missing }; for the flash node.

-Scott


More information about the Linuxppc-embedded mailing list