Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / intel-ixp43x-gateworks-gw2358.dts
blobba1163a1e1e71b247dfa5fd15a87e7b2618477b3
1 // SPDX-License-Identifier: ISC
2 /*
3  * Device Tree file for Gateworks IXP43x-based Cambria GW2358
4  */
6 /dts-v1/;
8 #include "intel-ixp43x.dtsi"
10 / {
11         model = "Gateworks Cambria GW2358";
12         compatible = "gateworks,gw2358", "intel,ixp43x";
13         #address-cells = <1>;
14         #size-cells = <1>;
16         memory@0 {
17                 /* 128 MB SDRAM */
18                 device_type = "memory";
19                 reg = <0x00000000 0x8000000>;
20         };
22         chosen {
23                 bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait";
24                 stdout-path = "uart0:115200n8";
25         };
27         aliases {
28                 serial0 = &uart0;
29         };
31         leds {
32                 compatible = "gpio-leds";
33                 led-user {
34                         label = "gw2358:green:LED";
35                         gpios = <&pld1 0 GPIO_ACTIVE_LOW>;
36                         default-state = "on";
37                         linux,default-trigger = "heartbeat";
38                 };
39         };
42         i2c {
43                 compatible = "i2c-gpio";
44                 sda-gpios = <&gpio0 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
45                 scl-gpios = <&gpio0 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
46                 #address-cells = <1>;
47                 #size-cells = <0>;
49                 hwmon@28 {
50                         compatible = "adi,ad7418";
51                         reg = <0x28>;
52                 };
53                 rtc: ds1672@68 {
54                         compatible = "dallas,ds1672";
55                         reg = <0x68>;
56                 };
57                 eeprom@51 {
58                         compatible = "atmel,24c08";
59                         reg = <0x51>;
60                         pagesize = <16>;
61                         size = <1024>;
62                         read-only;
63                 };
64                 pld0: pld@56 {
65                         compatible = "gateworks,pld-gpio";
66                         reg = <0x56>;
67                         gpio-controller;
68                         #gpio-cells = <2>;
69                 };
70                 /* This PLD just handles the LED and user button */
71                 pld1: pld@57 {
72                         compatible = "gateworks,pld-gpio";
73                         reg = <0x57>;
74                         gpio-controller;
75                         #gpio-cells = <2>;
76                 };
77         };
79         flash@50000000 {
80                 compatible = "intel,ixp4xx-flash", "cfi-flash";
81                 bank-width = <2>;
82                 /*
83                  * 32 MB of Flash in 0x20000 byte blocks
84                  * mapped in at 0x50000000
85                  */
86                 reg = <0x50000000 0x2000000>;
88                 partitions {
89                         compatible = "redboot-fis";
90                         /* Eraseblock at 0x1fe0000 */
91                         fis-index-block = <0xff>;
92                 };
93         };