<div dir="ltr">I'm trying to map some NOR flash in via DTS on a Yosemite<br>style 440EP board. I've tried a few different things, below<br>showing my latest attempt.  During Kernel boot, it does not <br>appear to detect the device, as no messages are emitted.<br><br>Flash is Spansion S29GL256P, base address 0xFE000000.<br><br>DTS:<br><br>EBC0: ebc {<br>       compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";<br>       dcr-reg = <0x012 0x002>;<br>       #address-cells = <2>;<br>       #size-cells = <1>;<br>       clock-frequency = <0>; /* Filled in by zImage */<br>       interrupts = <0x5 0x1>;<br>       interrupt-parent = <&UIC1>;<br><br>       nor_flash@FE0000000,0 {<br>               compatible = "amd,p29gl256p", "cfi-flash";<br>               #bank-width = <2>;<br>               reg = <0xFE000000 0x02000000>;<br>               #address-cells = <1>;<br>               #size-cells = <1>;<br>               partition@0 {<br>                       label = "Kernel";<br>                       reg = <0x00000000 0x00180000>;<br>               };<br>               partition@180000 {<br>                       label = "OS Filesystem";<br>                       reg = <0x00180000 0x01DE0000>;<br>               };<br>       };<br>};<br><br>DTS appears to parse:<br><br># pwd<br>/proc/device-tree/plb/opb/ebc<br># find nor_flash@FE0000000,0/<br>nor_flash@FE0000000,0/<br>nor_flash@FE0000000,0/compatible<br>nor_flash@FE0000000,0/partition@0<br>nor_flash@FE0000000,0/partition@0/label<br>nor_flash@FE0000000,0/partition@0/reg<br>nor_flash@FE0000000,0/partition@0/name<br>nor_flash@FE0000000,0/#address-cells<br>nor_flash@FE0000000,0/#bank-width<br>nor_flash@FE0000000,0/#size-cells<br>nor_flash@FE0000000,0/reg<br>nor_flash@FE0000000,0/partition@180000<br>nor_flash@FE0000000,0/partition@180000/label<br>nor_flash@FE0000000,0/partition@180000/reg<br>nor_flash@FE0000000,0/partition@180000/name<br>nor_flash@FE0000000,0/name<br><br>I'm sure this is some sort of syntax error on my part.<br><br>Any suggestions?<br></div>