Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree file for CalAmp LMU5000 board
0004  *
0005  * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com>
0006  */
0007 
0008 /dts-v1/;
0009 #include "at91sam9g20.dtsi"
0010 
0011 / {
0012         model = "CalAmp LMU5000";
0013         compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9";
0014 
0015         chosen {
0016                 bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2";
0017         };
0018 
0019         memory {
0020                 reg = <0x20000000 0x4000000>;
0021         };
0022 
0023         clocks {
0024                 #address-cells = <1>;
0025                 #size-cells = <1>;
0026                 ranges;
0027 
0028                 main_clock: clock@0 {
0029                         compatible = "atmel,osc", "fixed-clock";
0030                         clock-frequency = <18432000>;
0031                 };
0032         };
0033 };
0034 
0035 &dbgu {
0036         status = "okay";
0037 };
0038 
0039 &ebi {
0040         status = "okay";
0041 
0042         nand_controller: nand-controller {
0043                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
0044                 pinctrl-names = "default";
0045                 status = "okay";
0046 
0047                 nand@3 {
0048                         reg = <0x3 0x0 0x800000>;
0049                         rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
0050                         cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
0051                         nand-bus-width = <8>;
0052                         nand-ecc-mode = "soft";
0053                         nand-on-flash-bbt;
0054                         label = "atmel_nand";
0055                         status = "okay";
0056 
0057                         partitions {
0058                                 compatible = "fixed-partitions";
0059                                 #address-cells = <1>;
0060                                 #size-cells = <1>;
0061 
0062                                 kernel@0 {
0063                                         label = "kernel";
0064                                         reg = <0x0 0x400000>;
0065                                 };
0066 
0067                                 rootfs@400000 {
0068                                         label = "rootfs";
0069                                         reg = <0x400000 0x3C00000>;
0070                                 };
0071 
0072                                 user1@4000000 {
0073                                         label = "user1";
0074                                         reg = <0x4000000 0x2000000>;
0075                                 };
0076 
0077                                 user2@6000000 {
0078                                         label = "user2";
0079                                         reg = <0x6000000 0x2000000>;
0080                                 };
0081                         };
0082                 };
0083         };
0084 };
0085 
0086 &macb0 {
0087         phy-mode = "mii";
0088         status = "okay";
0089 };
0090 
0091 &pinctrl {
0092         board {
0093                 pinctrl_pck0_as_mck: pck0_as_mck {
0094                         atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
0095                 };
0096         };
0097 
0098         usb0 {
0099                 pinctrl_usb1_vbus_gpio: usb0_vbus_gpio {
0100                         atmel,pins = <AT91_PIOC 5 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
0101                 };
0102         };
0103 };
0104 
0105 &ssc0 {
0106         status = "okay";
0107         pinctrl-0 = <&pinctrl_ssc0_tx>;
0108 };
0109 
0110 &uart0 {
0111         status = "okay";
0112 };
0113 
0114 &uart1 {
0115         status = "okay";
0116 };
0117 
0118 &usart0 {
0119         pinctrl-0 =
0120                 <&pinctrl_usart0
0121                  &pinctrl_usart0_rts
0122                  &pinctrl_usart0_cts
0123                  &pinctrl_usart0_dtr_dsr
0124                  &pinctrl_usart0_dcd
0125                  &pinctrl_usart0_ri>;
0126         status = "okay";
0127 };
0128 
0129 &usart2 {
0130         status = "okay";
0131 };
0132 
0133 &usb0 {
0134         num-ports = <2>;
0135         status = "okay";
0136 };
0137 
0138 &usb1 {
0139         pinctrl-names = "default";
0140         pinctrl-0 = <&pinctrl_usb1_vbus_gpio>;
0141         atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
0142         status = "okay";
0143 };
0144 
0145 &watchdog {
0146         status = "okay";
0147 };