.. | .. |
---|
29 | 29 | - use-advanced-sector-protection: boolean to enable support for the |
---|
30 | 30 | advanced sector protection (Spansion: PPB - Persistent Protection |
---|
31 | 31 | Bits) locking. |
---|
| 32 | + - addr-gpios : (optional) List of GPIO descriptors that will be used to |
---|
| 33 | + address the MSBs address lines. The order goes from LSB to MSB. |
---|
32 | 34 | |
---|
33 | 35 | For JEDEC compatible devices, the following additional properties |
---|
34 | 36 | are defined: |
---|
.. | .. |
---|
94 | 96 | bank-width = <2>; |
---|
95 | 97 | }; |
---|
96 | 98 | |
---|
| 99 | +An example using gpio-addrs |
---|
| 100 | + |
---|
| 101 | + flash@20000000 { |
---|
| 102 | + #address-cells = <1>; |
---|
| 103 | + #size-cells = <1>; |
---|
| 104 | + compatible = "cfi-flash", "jedec-flash"; |
---|
| 105 | + reg = <0x20000000 0x02000000>; |
---|
| 106 | + ranges = <0 0x00000000 0x02000000 |
---|
| 107 | + 1 0x02000000 0x02000000>; |
---|
| 108 | + bank-width = <2>; |
---|
| 109 | + addr-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; |
---|
| 110 | + partition@0 { |
---|
| 111 | + label = "test-part1"; |
---|
| 112 | + reg = <0 0x04000000>; |
---|
| 113 | + }; |
---|
| 114 | + }; |
---|