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>;
75 cd-gpios = <&pioD 6 GPIO_ACTIVE_HIGH>;
79 macb0: ethernet@fffbc000 {
88 nand_controller: nand-controller {
90 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
91 pinctrl-names = "default";
94 reg = <0x3 0x0 0x800000>;
95 rb-gpios = <&pioD 3 GPIO_ACTIVE_HIGH>;
96 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
98 nand-ecc-mode = "soft";
100 label = "atmel_nand";
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
108 label = "at91bootstrap";
114 reg = <0x20000 0x40000>;
118 label = "bareboxenv";
119 reg = <0x60000 0x1A0000>;
123 label = "bareboxenv2";
124 reg = <0x200000 0x300000>;
129 reg = <0x500000 0x400000>;
134 reg = <0x900000 0x8340000>;
152 compatible = "gpio-leds";
156 gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
157 linux,default-trigger = "nand-disk";
162 gpios = <&pioD 31 GPIO_ACTIVE_HIGH>;
163 linux,default-trigger = "heartbeat";
168 compatible = "gpio-keys";
169 #address-cells = <1>;
174 gpios = <&pioE 7 GPIO_ACTIVE_LOW>;
180 gpios = <&pioE 8 GPIO_ACTIVE_LOW>;