| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2012 Free Electrons |
|---|
| 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/; |
|---|
| 13 | 7 | #include "imx28.dtsi" |
|---|
| 8 | +#include <dt-bindings/gpio/gpio.h> |
|---|
| 14 | 9 | |
|---|
| 15 | 10 | / { |
|---|
| 16 | 11 | model = "Crystalfontz CFA-10036 Board"; |
|---|
| 17 | 12 | compatible = "crystalfontz,cfa10036", "fsl,imx28"; |
|---|
| 18 | 13 | |
|---|
| 19 | 14 | memory@40000000 { |
|---|
| 15 | + device_type = "memory"; |
|---|
| 20 | 16 | reg = <0x40000000 0x08000000>; |
|---|
| 21 | 17 | }; |
|---|
| 22 | 18 | |
|---|
| .. | .. |
|---|
| 66 | 62 | |
|---|
| 67 | 63 | }; |
|---|
| 68 | 64 | |
|---|
| 69 | | - ssp0: ssp@80010000 { |
|---|
| 65 | + ssp0: spi@80010000 { |
|---|
| 70 | 66 | compatible = "fsl,imx28-mmc"; |
|---|
| 71 | 67 | pinctrl-names = "default"; |
|---|
| 72 | 68 | pinctrl-0 = <&mmc0_4bit_pins_a |
|---|
| .. | .. |
|---|
| 95 | 91 | pinctrl-names = "default"; |
|---|
| 96 | 92 | pinctrl-0 = <&ssd1306_cfa10036>; |
|---|
| 97 | 93 | reg = <0x3c>; |
|---|
| 98 | | - reset-gpios = <&gpio2 7 0>; |
|---|
| 94 | + reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; |
|---|
| 99 | 95 | solomon,height = <32>; |
|---|
| 100 | 96 | solomon,width = <128>; |
|---|
| 101 | 97 | solomon,page-offset = <0>; |
|---|