~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 /*
  3  * Device Tree file for Cirrus Logic EDB9302 board based on EP9302 SoC
  4  */
  5 /dts-v1/;
  6 #include "ep93xx.dtsi"
  7 
  8 / {
  9         #address-cells = <1>;
 10         #size-cells = <1>;
 11         compatible = "cirrus,edb9302", "cirrus,ep9301";
 12         model = "cirrus,edb9302";
 13 
 14         chosen {
 15         };
 16 
 17         memory@0 {
 18                 device_type = "memory";
 19                 /* should be set from ATAGS */
 20                 reg = <0x0000000 0x800000>,
 21                       <0x1000000 0x800000>,
 22                       <0x4000000 0x800000>,
 23                       <0x5000000 0x800000>;
 24         };
 25 
 26         sound {
 27                 compatible = "audio-graph-card2";
 28                 label = "EDB93XX";
 29                 links = <&i2s_port>;
 30         };
 31 
 32         leds {
 33                 compatible = "gpio-leds";
 34                 led-0 {
 35                         label = "grled";
 36                         gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
 37                         linux,default-trigger = "heartbeat";
 38                         function = LED_FUNCTION_HEARTBEAT;
 39                 };
 40 
 41                 led-1 {
 42                         label = "rdled";
 43                         gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
 44                         function = LED_FUNCTION_FAULT;
 45                 };
 46         };
 47 };
 48 
 49 &adc {
 50         status = "okay";
 51 };
 52 
 53 &ebi {
 54         flash@60000000 {
 55                 compatible = "cfi-flash";
 56                 reg = <0x60000000 0x1000000>;
 57                 bank-width = <2>;
 58         };
 59 };
 60 
 61 &eth0 {
 62         phy-handle = <&phy0>;
 63 };
 64 
 65 &gpio0 {
 66         gpio-ranges = <&syscon 0 153 1>,
 67                       <&syscon 1 152 1>,
 68                       <&syscon 2 151 1>,
 69                       <&syscon 3 148 1>,
 70                       <&syscon 4 147 1>,
 71                       <&syscon 5 146 1>,
 72                       <&syscon 6 145 1>,
 73                       <&syscon 7 144 1>;
 74 };
 75 
 76 &gpio1 {
 77         gpio-ranges = <&syscon 0 143 1>,
 78                       <&syscon 1 142 1>,
 79                       <&syscon 2 141 1>,
 80                       <&syscon 3 140 1>,
 81                       <&syscon 4 165 1>,
 82                       <&syscon 5 164 1>,
 83                       <&syscon 6 163 1>,
 84                       <&syscon 7 160 1>;
 85 };
 86 
 87 &gpio2 {
 88         gpio-ranges = <&syscon 0 115 1>;
 89 };
 90 
 91 /* edb9302 doesn't have GPIO Port D present */
 92 &gpio3 {
 93         status = "disabled";
 94 };
 95 
 96 &gpio4 {
 97         gpio-ranges = <&syscon 0 97 2>;
 98 };
 99 
100 &gpio5 {
101         gpio-ranges = <&syscon 1 170 1>,
102                       <&syscon 2 169 1>,
103                       <&syscon 3 168 1>;
104 };
105 
106 &gpio6 {
107         gpio-ranges = <&syscon 0 87 2>;
108 };
109 
110 &gpio7 {
111         gpio-ranges = <&syscon 2 199 4>;
112 };
113 
114 &i2s {
115         pinctrl-names = "default";
116         pinctrl-0 = <&i2s_on_ac97_pins>;
117         status = "okay";
118         i2s_port: port {
119                 i2s_ep: endpoint {
120                         system-clock-direction-out;
121                         frame-master;
122                         bitclock-master;
123                         mclk-fs = <256>;
124                         dai-format = "i2s";
125                         convert-channels = <2>;
126                         convert-sample-format = "s32_le";
127                         remote-endpoint = <&codec_ep>;
128                 };
129         };
130 };
131 
132 &mdio0 {
133         phy0: ethernet-phy@1 {
134                 reg = <1>;
135                 device_type = "ethernet-phy";
136         };
137 };
138 
139 &spi0 {
140         cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW
141                     &gpio0 7 GPIO_ACTIVE_LOW>;
142         dmas = <&dma1 10 2>, <&dma1 10 1>;
143         dma-names = "rx", "tx";
144         status = "okay";
145 
146         cs4271: codec@0 {
147                 compatible = "cirrus,cs4271";
148                 reg = <0>;
149                 #sound-dai-cells = <0>;
150                 spi-max-frequency = <6000000>;
151                 spi-cpol;
152                 spi-cpha;
153                 reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
154                 port {
155                         codec_ep: endpoint {
156                                 remote-endpoint = <&i2s_ep>;
157                         };
158                 };
159         };
160 
161         at25f1024: eeprom@1 {
162                 compatible = "atmel,at25";
163                 reg = <1>;
164                 address-width = <8>;
165                 size = <0x20000>;
166                 pagesize = <256>;
167                 spi-max-frequency = <20000000>;
168         };
169 };
170 
171 &uart0 {
172         status = "okay";
173 };
174 
175 &uart1 {
176         status = "okay";
177 };
178 
179 &usb0 {
180         status = "okay";
181 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php