1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the GARDENA smart Gateway (AT91SAM)
5 * Copyright (C) 2012 Atmel,
6 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
11 #include "at91sam9g25.dtsi"
14 model = "GARDENA smart Gateway (AT91SAM)";
15 compatible = "gardena,smart-gateway-at91sam", "atmel,at91sam9";
22 stdout-path = "serial0:115200n8";
26 reg = <0x20000000 0x8000000>;
31 clock-frequency = <32768>;
35 clock-frequency = <12000000>;
40 compatible = "gpio-leds";
43 label = "smartgw:power:blue";
44 gpios = <&pioC 21 GPIO_ACTIVE_HIGH>;
45 default-state = "off";
49 label = "smartgw:power:green";
50 gpios = <&pioC 20 GPIO_ACTIVE_HIGH>;
55 label = "smartgw:power:red";
56 gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
57 default-state = "off";
61 label = "smartgw:radio:blue";
62 gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
67 label = "smartgw:radio:green";
68 gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
73 label = "smartgw:radio:red";
74 gpios = <&pioC 16 GPIO_ACTIVE_HIGH>;
75 default-state = "off";
79 label = "smartgw:internet:blue";
80 gpios = <&pioC 15 GPIO_ACTIVE_HIGH>;
81 default-state = "off";
85 label = "smartgw:internet:green";
86 gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
87 default-state = "off";
91 label = "smartgw:internet:red";
92 gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
93 default-state = "off";
108 nand-bus-width = <8>;
109 nand-ecc-mode = "hw";
110 atmel,has-pmecc; /* Enable PMECC */
111 atmel,pmecc-cap = <2>;
112 atmel,pmecc-sector-size = <512>;