xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/mpa1600.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * mpa1600.dts - Device Tree file for Phontech MPA 1600
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot *  Copyright (C) 2013 Joachim Eastwood <manabian@gmail.com>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "at91rm9200.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Phontech MPA 1600";
12*f126890aSEmmanuel Vadot	compatible = "phontech,mpa1600", "atmel,at91rm9200";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	memory@20000000 {
15*f126890aSEmmanuel Vadot		reg = <0x20000000 0x4000000>;
16*f126890aSEmmanuel Vadot	};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	clocks {
19*f126890aSEmmanuel Vadot		slow_xtal {
20*f126890aSEmmanuel Vadot			clock-frequency = <32768>;
21*f126890aSEmmanuel Vadot		};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		main_xtal {
24*f126890aSEmmanuel Vadot			clock-frequency = <18432000>;
25*f126890aSEmmanuel Vadot		};
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	ahb {
29*f126890aSEmmanuel Vadot		apb {
30*f126890aSEmmanuel Vadot			dbgu: serial@fffff200 {
31*f126890aSEmmanuel Vadot				status = "okay";
32*f126890aSEmmanuel Vadot			};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot			tcb0: timer@fffa0000 {
35*f126890aSEmmanuel Vadot				timer@0 {
36*f126890aSEmmanuel Vadot					compatible = "atmel,tcb-timer";
37*f126890aSEmmanuel Vadot					reg = <0>, <1>;
38*f126890aSEmmanuel Vadot				};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot				timer@2 {
41*f126890aSEmmanuel Vadot					compatible = "atmel,tcb-timer";
42*f126890aSEmmanuel Vadot					reg = <2>;
43*f126890aSEmmanuel Vadot				};
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot			macb0: ethernet@fffbc000 {
47*f126890aSEmmanuel Vadot				phy-mode = "rmii";
48*f126890aSEmmanuel Vadot				status = "okay";
49*f126890aSEmmanuel Vadot			};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot			ssc0: ssc@fffd0000 {
52*f126890aSEmmanuel Vadot				status = "okay";
53*f126890aSEmmanuel Vadot			};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot			ssc1: ssc@fffd4000 {
56*f126890aSEmmanuel Vadot				status = "okay";
57*f126890aSEmmanuel Vadot			};
58*f126890aSEmmanuel Vadot		};
59*f126890aSEmmanuel Vadot
60*f126890aSEmmanuel Vadot		usb0: ohci@300000 {
61*f126890aSEmmanuel Vadot			num-ports = <1>;
62*f126890aSEmmanuel Vadot			status = "okay";
63*f126890aSEmmanuel Vadot		};
64*f126890aSEmmanuel Vadot	};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot	i2c-gpio-0 {
67*f126890aSEmmanuel Vadot		status = "okay";
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot	gpio_keys {
71*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot		monitor_mute {
74*f126890aSEmmanuel Vadot			label = "Monitor mute";
75*f126890aSEmmanuel Vadot			gpios = <&pioC 1 GPIO_ACTIVE_LOW>;
76*f126890aSEmmanuel Vadot			linux,code = <113>;
77*f126890aSEmmanuel Vadot		};
78*f126890aSEmmanuel Vadot	};
79*f126890aSEmmanuel Vadot};
80