]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/usb_a9260_common.dtsi
Merge tag 'xtensa-20190715' of git://github.com/jcmvbkbc/linux-xtensa
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / usb_a9260_common.dtsi
CommitLineData
a636cd6c 1// SPDX-License-Identifier: GPL-2.0-or-later
cff4175e
JCPV
2/*
3 * usb_a926x.dts - Device Tree file for Caloa USB A926x board
4 *
5 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cff4175e
JCPV
6 */
7
8/ {
9 clocks {
f1e78615
AB
10 slow_xtal {
11 clock-frequency = <32768>;
12 };
13
14 main_xtal {
15 clock-frequency = <12000000>;
16 };
cff4175e
JCPV
17 };
18
19 ahb {
20 apb {
21 dbgu: serial@fffff200 {
22 status = "okay";
23 };
24
1a4e63d4
AB
25 tcb0: timer@fffa0000 {
26 timer@0 {
27 compatible = "atmel,tcb-timer";
28 reg = <0>, <1>;
29 };
30
31 timer@2 {
32 compatible = "atmel,tcb-timer";
33 reg = <2>;
34 };
35 };
36
cff4175e
JCPV
37 macb0: ethernet@fffc4000 {
38 phy-mode = "rmii";
39 status = "okay";
40 };
41
42 usb1: gadget@fffa4000 {
92f8629b 43 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
cff4175e
JCPV
44 status = "okay";
45 };
46 };
47
1004a297 48 ebi: ebi@10000000 {
cff4175e
JCPV
49 status = "okay";
50
1004a297
BB
51 nand_controller: nand-controller {
52 status = "okay";
53 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
54 pinctrl-names = "default";
55
56 nand@3 {
57 reg = <0x3 0x0 0x800000>;
58 rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
59 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
60 nand-bus-width = <8>;
61 nand-ecc-mode = "soft";
62 nand-on-flash-bbt;
63 label = "atmel_nand";
64
65 partitions {
66 compatible = "fixed-partitions";
67 #address-cells = <1>;
68 #size-cells = <1>;
69
70 at91bootstrap@0 {
71 label = "at91bootstrap";
72 reg = <0x0 0x20000>;
73 };
74
75 barebox@20000 {
76 label = "barebox";
77 reg = <0x20000 0x40000>;
78 };
79
80 bareboxenv@60000 {
81 label = "bareboxenv";
82 reg = <0x60000 0x20000>;
83 };
84
85 bareboxenv2@80000 {
86 label = "bareboxenv2";
87 reg = <0x80000 0x20000>;
88 };
89
90 oftree@80000 {
91 label = "oftree";
92 reg = <0xa0000 0x20000>;
93 };
94
95 kernel@a0000 {
96 label = "kernel";
97 reg = <0xc0000 0x400000>;
98 };
99
100 rootfs@4a0000 {
101 label = "rootfs";
102 reg = <0x4c0000 0x7800000>;
103 };
104
105 data@7ca0000 {
106 label = "data";
107 reg = <0x7cc0000 0x8340000>;
108 };
109 };
110 };
cff4175e
JCPV
111 };
112 };
113
cfdc7fa5 114 usb0: ohci@500000 {
cff4175e
JCPV
115 num-ports = <2>;
116 status = "okay";
117 };
118 };
119
120 leds {
121 compatible = "gpio-leds";
122
123 user_led {
124 label = "user_led";
92f8629b 125 gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
cff4175e
JCPV
126 linux,default-trigger = "heartbeat";
127 };
128 };
129
130 gpio_keys {
131 compatible = "gpio-keys";
132 #address-cells = <1>;
133 #size-cells = <0>;
134
135 user_pb {
136 label = "user_pb";
92f8629b 137 gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
cff4175e 138 linux,code = <28>;
67ae8b9b 139 wakeup-source;
cff4175e
JCPV
140 };
141 };
142
e152e3f7 143 i2c-gpio-0 {
cff4175e
JCPV
144 status = "okay";
145 };
146};