1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Device Tree file for CalAmp LMU5000 board 3 * Device Tree file for CalAmp LMU5000 board 4 * 4 * 5 * Copyright (C) 2013 Adam Porter <porter.adam@ 5 * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "at91sam9g20.dtsi" 9 #include "at91sam9g20.dtsi" 10 10 11 / { 11 / { 12 model = "CalAmp LMU5000"; 12 model = "CalAmp LMU5000"; 13 compatible = "calamp,lmu5000", "atmel, 13 compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9"; 14 14 15 chosen { 15 chosen { 16 bootargs = "mem=64M console=tt 16 bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2"; 17 }; 17 }; 18 18 19 memory { 19 memory { 20 reg = <0x20000000 0x4000000>; 20 reg = <0x20000000 0x4000000>; 21 }; 21 }; 22 22 23 clocks { 23 clocks { 24 #address-cells = <1>; 24 #address-cells = <1>; 25 #size-cells = <1>; 25 #size-cells = <1>; 26 ranges; 26 ranges; 27 27 28 main_clock: clock@0 { 28 main_clock: clock@0 { 29 compatible = "atmel,os 29 compatible = "atmel,osc", "fixed-clock"; 30 clock-frequency = <184 30 clock-frequency = <18432000>; 31 }; 31 }; 32 }; 32 }; 33 }; 33 }; 34 34 35 &dbgu { 35 &dbgu { 36 status = "okay"; 36 status = "okay"; 37 }; 37 }; 38 38 39 &ebi { 39 &ebi { 40 status = "okay"; 40 status = "okay"; 41 41 42 nand_controller: nand-controller { 42 nand_controller: nand-controller { 43 pinctrl-0 = <&pinctrl_nand_cs 43 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>; 44 pinctrl-names = "default"; 44 pinctrl-names = "default"; 45 status = "okay"; 45 status = "okay"; 46 46 47 nand@3 { 47 nand@3 { 48 reg = <0x3 0x0 0x80000 48 reg = <0x3 0x0 0x800000>; 49 rb-gpios = <&pioC 13 G 49 rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>; 50 cs-gpios = <&pioC 14 G 50 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>; 51 nand-bus-width = <8>; 51 nand-bus-width = <8>; 52 nand-ecc-mode = "soft" 52 nand-ecc-mode = "soft"; 53 nand-on-flash-bbt; 53 nand-on-flash-bbt; 54 label = "atmel_nand"; 54 label = "atmel_nand"; 55 status = "okay"; 55 status = "okay"; 56 56 57 partitions { 57 partitions { 58 compatible = " 58 compatible = "fixed-partitions"; 59 #address-cells 59 #address-cells = <1>; 60 #size-cells = 60 #size-cells = <1>; 61 61 62 kernel@0 { 62 kernel@0 { 63 label 63 label = "kernel"; 64 reg = 64 reg = <0x0 0x400000>; 65 }; 65 }; 66 66 67 rootfs@400000 67 rootfs@400000 { 68 label 68 label = "rootfs"; 69 reg = 69 reg = <0x400000 0x3C00000>; 70 }; 70 }; 71 71 72 user1@4000000 72 user1@4000000 { 73 label 73 label = "user1"; 74 reg = 74 reg = <0x4000000 0x2000000>; 75 }; 75 }; 76 76 77 user2@6000000 77 user2@6000000 { 78 label 78 label = "user2"; 79 reg = 79 reg = <0x6000000 0x2000000>; 80 }; 80 }; 81 }; 81 }; 82 }; 82 }; 83 }; 83 }; 84 }; 84 }; 85 85 86 &macb0 { 86 &macb0 { 87 phy-mode = "mii"; 87 phy-mode = "mii"; 88 status = "okay"; 88 status = "okay"; 89 }; 89 }; 90 90 91 &pinctrl { 91 &pinctrl { 92 board { 92 board { 93 pinctrl_pck0_as_mck: pck0_as_m 93 pinctrl_pck0_as_mck: pck0_as_mck { 94 atmel,pins = <AT91_PIO 94 atmel,pins = <AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE>; 95 }; 95 }; 96 }; 96 }; 97 97 98 usb0 { 98 usb0 { 99 pinctrl_usb1_vbus_gpio: usb0_v 99 pinctrl_usb1_vbus_gpio: usb0_vbus_gpio { 100 atmel,pins = <AT91_PIO 100 atmel,pins = <AT91_PIOC 5 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 101 }; 101 }; 102 }; 102 }; 103 }; 103 }; 104 104 105 &ssc0 { 105 &ssc0 { 106 status = "okay"; 106 status = "okay"; 107 pinctrl-0 = <&pinctrl_ssc0_tx>; 107 pinctrl-0 = <&pinctrl_ssc0_tx>; 108 }; 108 }; 109 109 110 &uart0 { 110 &uart0 { 111 status = "okay"; 111 status = "okay"; 112 }; 112 }; 113 113 114 &uart1 { 114 &uart1 { 115 status = "okay"; 115 status = "okay"; 116 }; 116 }; 117 117 118 &usart0 { 118 &usart0 { 119 pinctrl-0 = 119 pinctrl-0 = 120 <&pinctrl_usart0 120 <&pinctrl_usart0 121 &pinctrl_usart0_rts 121 &pinctrl_usart0_rts 122 &pinctrl_usart0_cts 122 &pinctrl_usart0_cts 123 &pinctrl_usart0_dtr_dsr 123 &pinctrl_usart0_dtr_dsr 124 &pinctrl_usart0_dcd 124 &pinctrl_usart0_dcd 125 &pinctrl_usart0_ri>; 125 &pinctrl_usart0_ri>; 126 status = "okay"; 126 status = "okay"; 127 }; 127 }; 128 128 129 &usart2 { 129 &usart2 { 130 status = "okay"; 130 status = "okay"; 131 }; 131 }; 132 132 133 &usb0 { 133 &usb0 { 134 num-ports = <2>; 134 num-ports = <2>; 135 status = "okay"; 135 status = "okay"; 136 }; 136 }; 137 137 138 &usb1 { 138 &usb1 { 139 pinctrl-names = "default"; 139 pinctrl-names = "default"; 140 pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; 140 pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; 141 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE 141 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; 142 status = "okay"; 142 status = "okay"; 143 }; 143 }; 144 144 145 &watchdog { 145 &watchdog { 146 status = "okay"; 146 status = "okay"; 147 }; 147 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.