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