| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2013 Data Modul AG |
|---|
| 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/; |
|---|
| .. | .. |
|---|
| 30 | 24 | }; |
|---|
| 31 | 25 | |
|---|
| 32 | 26 | memory@10000000 { |
|---|
| 27 | + device_type = "memory"; |
|---|
| 33 | 28 | reg = <0x10000000 0x80000000>; |
|---|
| 34 | 29 | }; |
|---|
| 35 | 30 | |
|---|
| .. | .. |
|---|
| 104 | 99 | &ecspi5 { |
|---|
| 105 | 100 | pinctrl-names = "default"; |
|---|
| 106 | 101 | pinctrl-0 = <&pinctrl_ecspi5>; |
|---|
| 107 | | - cs-gpios = <&gpio1 12 0>; |
|---|
| 102 | + cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
|---|
| 108 | 103 | status = "okay"; |
|---|
| 109 | 104 | |
|---|
| 110 | | - flash: m25p80@0 { |
|---|
| 105 | + flash: flash@0 { |
|---|
| 111 | 106 | compatible = "m25p80", "jedec,spi-nor"; |
|---|
| 112 | 107 | spi-max-frequency = <40000000>; |
|---|
| 113 | 108 | reg = <0>; |
|---|