.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2013 Gateworks Corporation |
---|
3 | | - * |
---|
4 | | - * The code contained herein is licensed under the GNU General Public |
---|
5 | | - * License. You may obtain a copy of the GNU General Public License |
---|
6 | | - * Version 2 or later at the following locations: |
---|
7 | | - * |
---|
8 | | - * http://www.opensource.org/licenses/gpl-license.html |
---|
9 | | - * http://www.gnu.org/copyleft/gpl.html |
---|
10 | 4 | */ |
---|
11 | 5 | |
---|
12 | 6 | /dts-v1/; |
---|
.. | .. |
---|
61 | 55 | }; |
---|
62 | 56 | |
---|
63 | 57 | memory@10000000 { |
---|
| 58 | + device_type = "memory"; |
---|
64 | 59 | reg = <0x10000000 0x40000000>; |
---|
65 | 60 | }; |
---|
66 | 61 | |
---|
.. | .. |
---|
137 | 132 | }; |
---|
138 | 133 | |
---|
139 | 134 | &ecspi1 { |
---|
140 | | - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; |
---|
| 135 | + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; |
---|
141 | 136 | pinctrl-names = "default"; |
---|
142 | 137 | pinctrl-0 = <&pinctrl_ecspi1>; |
---|
143 | 138 | status = "okay"; |
---|
144 | 139 | |
---|
145 | | - flash: m25p80@0 { |
---|
| 140 | + flash: flash@0 { |
---|
146 | 141 | compatible = "sst,w25q256", "jedec,spi-nor"; |
---|
147 | 142 | spi-max-frequency = <30000000>; |
---|
148 | 143 | reg = <0>; |
---|