.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH |
---|
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 | #include <dt-bindings/gpio/gpio.h> |
---|
.. | .. |
---|
16 | 10 | compatible = "phytec,imx6q-pfla02", "fsl,imx6q"; |
---|
17 | 11 | |
---|
18 | 12 | memory@10000000 { |
---|
| 13 | + device_type = "memory"; |
---|
19 | 14 | reg = <0x10000000 0x80000000>; |
---|
20 | 15 | }; |
---|
21 | 16 | |
---|
.. | .. |
---|
76 | 71 | pinctrl-names = "default"; |
---|
77 | 72 | pinctrl-0 = <&pinctrl_ecspi3>; |
---|
78 | 73 | status = "okay"; |
---|
79 | | - cs-gpios = <&gpio4 24 0>; |
---|
| 74 | + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; |
---|
80 | 75 | |
---|
81 | | - flash@0 { |
---|
| 76 | + som_flash: flash@0 { |
---|
82 | 77 | compatible = "m25p80", "jedec,spi-nor"; |
---|
83 | 78 | spi-max-frequency = <20000000>; |
---|
84 | 79 | reg = <0>; |
---|
.. | .. |
---|
88 | 83 | &fec { |
---|
89 | 84 | pinctrl-names = "default"; |
---|
90 | 85 | pinctrl-0 = <&pinctrl_enet>; |
---|
| 86 | + phy-handle = <ðphy>; |
---|
91 | 87 | phy-mode = "rgmii"; |
---|
92 | 88 | phy-reset-duration = <10>; /* in msecs */ |
---|
93 | 89 | phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; |
---|
94 | 90 | phy-supply = <&vdd_eth_io_reg>; |
---|
95 | 91 | status = "disabled"; |
---|
| 92 | + |
---|
| 93 | + fec_mdio: mdio { |
---|
| 94 | + #address-cells = <1>; |
---|
| 95 | + #size-cells = <0>; |
---|
| 96 | + |
---|
| 97 | + ethphy: ethernet-phy@0 { |
---|
| 98 | + compatible = "ethernet-phy-ieee802.3-c22"; |
---|
| 99 | + reg = <0>; |
---|
| 100 | + txc-skew-ps = <1680>; |
---|
| 101 | + rxc-skew-ps = <1860>; |
---|
| 102 | + }; |
---|
| 103 | + }; |
---|
96 | 104 | }; |
---|
97 | 105 | |
---|
98 | 106 | &gpmi { |
---|
.. | .. |
---|
107 | 115 | pinctrl-0 = <&pinctrl_i2c1>; |
---|
108 | 116 | status = "okay"; |
---|
109 | 117 | |
---|
110 | | - eeprom@50 { |
---|
| 118 | + som_eeprom: eeprom@50 { |
---|
111 | 119 | compatible = "atmel,24c32"; |
---|
112 | 120 | reg = <0x50>; |
---|
113 | 121 | }; |
---|
.. | .. |
---|
117 | 125 | reg = <0x58>; |
---|
118 | 126 | interrupt-parent = <&gpio2>; |
---|
119 | 127 | interrupts = <9 IRQ_TYPE_LEVEL_LOW>; /* active-low GPIO2_9 */ |
---|
| 128 | + interrupt-controller; |
---|
120 | 129 | |
---|
121 | 130 | regulators { |
---|
122 | 131 | vddcore_reg: bcore1 { |
---|