1 // SPDX-License-Identifier: GPL-2.0-only
3 * pm9g45.dts - Device Tree file for Ronetix pm9g45 board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 #include "at91sam9g45.dtsi"
11 model = "Ronetix pm9g45";
12 compatible = "ronetix,pm9g45", "atmel,at91sam9g45", "atmel,at91sam9";
15 bootargs = "console=ttyS0,115200";
19 reg = <0x70000000 0x8000000>;
24 clock-frequency = <32768>;
28 clock-frequency = <12000000>;
34 dbgu: serial@ffffee00 {
40 pinctrl_nand_rb: nand-rb-0 {
42 <AT91_PIOD 3 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
47 pinctrl_board_mmc: mmc0-board {
49 <AT91_PIOD 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD6 gpio CD pin pull_up and deglitch */
54 tcb0: timer@fff7c000 {
56 compatible = "atmel,tcb-timer";
61 compatible = "atmel,tcb-timer";
69 &pinctrl_mmc0_slot0_clk_cmd_dat0
70 &pinctrl_mmc0_slot0_dat1_3>;
71 pinctrl-names = "default";
76 cd-gpios = <&pioD 6 GPIO_ACTIVE_HIGH>;
80 macb0: ethernet@fffbc000 {
89 nand_controller: nand-controller {
91 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
92 pinctrl-names = "default";
95 reg = <0x3 0x0 0x800000>;
96 rb-gpios = <&pioD 3 GPIO_ACTIVE_HIGH>;
97 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
99 nand-ecc-mode = "soft";
101 label = "atmel_nand";
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
109 label = "at91bootstrap";
115 reg = <0x20000 0x40000>;
119 label = "bareboxenv";
120 reg = <0x60000 0x1A0000>;
124 label = "bareboxenv2";
125 reg = <0x200000 0x300000>;
130 reg = <0x500000 0x400000>;
135 reg = <0x900000 0x8340000>;
153 compatible = "gpio-leds";
157 gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
158 linux,default-trigger = "nand-disk";
163 gpios = <&pioD 31 GPIO_ACTIVE_HIGH>;
164 linux,default-trigger = "heartbeat";
169 compatible = "gpio-keys";
170 #address-cells = <1>;
175 gpios = <&pioE 7 GPIO_ACTIVE_LOW>;
181 gpios = <&pioE 8 GPIO_ACTIVE_LOW>;