440EP NOR Flash Mapping with DTS
Segher Boessenkool
segher at kernel.crashing.org
Mon Jul 17 10:58:46 AEST 2017
On Sun, Jul 16, 2017 at 05:31:05PM -0700, Thomas Besemer wrote:
> I'm trying to map some NOR flash in via DTS on a Yosemite
> style 440EP board. I've tried a few different things, below
> showing my latest attempt. During Kernel boot, it does not
> appear to detect the device, as no messages are emitted.
>
> Flash is Spansion S29GL256P, base address 0xFE000000.
>
> EBC0: ebc {
> compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
> dcr-reg = <0x012 0x002>;
> #address-cells = <2>;
> #size-cells = <1>;
> clock-frequency = <0>; /* Filled in by zImage */
> interrupts = <0x5 0x1>;
> interrupt-parent = <&UIC1>;
>
> nor_flash at FE0000000,0 {
@0,fe000000
> reg = <0xFE000000 0x02000000>;
reg = <0 0xfe000000 0x02000000>;
Cheers,
Segher
More information about the Linuxppc-dev
mailing list