Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: at91: Add DT support for Olimex SAM9-L9260 board.

sam9-l9260 is a low cost board designed by Olimex.

More information is available at:
https://www.olimex.com/Products/ARM/Atmel/SAM9-L9260/

Signed-off-by: Raashid Muhammed <raashidmuhammed@zilogic.com>
Reviewed-by: Vijay Kumar B. <vijaykumar@bravegnu.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Raashid Muhammed and committed by
Alexandre Belloni
726b4d06 cfdc7fa5

+122 -2
+6 -2
Documentation/devicetree/bindings/arm/olimex.txt
··· 1 - Olimex i.MX Platforms Device Tree Bindings 2 - ------------------------------------------ 1 + Olimex Device Tree Bindings 2 + --------------------------- 3 + 4 + SAM9-L9260 Board 5 + Required root node properties: 6 + - compatible = "olimex,sam9-l9260", "atmel,at91sam9260"; 3 7 4 8 i.MX23 Olinuxino Low Cost Board 5 9 Required root node properties:
+1
arch/arm/boot/dts/Makefile
··· 19 19 usb_a9260.dtb \ 20 20 at91sam9261ek.dtb \ 21 21 at91sam9263ek.dtb \ 22 + at91-sam9_l9260.dtb \ 22 23 tny_a9263.dtb \ 23 24 usb_a9263.dtb \ 24 25 at91-foxg20.dtb \
+115
arch/arm/boot/dts/at91-sam9_l9260.dts
··· 1 + /* 2 + * at91-sam9_l9260.dts - Device Tree file for Olimex SAM9-L9260 board 3 + * 4 + * Copyright (C) 2016 Raashid Muhammed <raashidmuhammed@zilogic.com> 5 + * 6 + * Licensed under GPLv2 or later. 7 + */ 8 + /dts-v1/; 9 + #include "at91sam9260.dtsi" 10 + 11 + / { 12 + model = "Olimex sam9-l9260"; 13 + compatible = "olimex,sam9-l9260", "atmel,at91sam9260", "atmel,at91sam9"; 14 + 15 + chosen { 16 + stdout-path = "serial0:115200n8"; 17 + }; 18 + 19 + memory { 20 + reg = <0x20000000 0x4000000>; 21 + }; 22 + 23 + clocks { 24 + slow_xtal { 25 + clock-frequency = <32768>; 26 + }; 27 + 28 + main_xtal { 29 + clock-frequency = <18432000>; 30 + }; 31 + }; 32 + 33 + ahb { 34 + apb { 35 + mmc0: mmc@fffa8000 { 36 + pinctrl-0 = < 37 + &pinctrl_board_mmc0 38 + &pinctrl_mmc0_clk 39 + &pinctrl_mmc0_slot1_cmd_dat0 40 + &pinctrl_mmc0_slot1_dat1_3>; 41 + status = "okay"; 42 + 43 + slot@1 { 44 + reg = <1>; 45 + bus-width = <4>; 46 + cd-gpios = <&pioC 8 GPIO_ACTIVE_HIGH>; 47 + wp-gpios = <&pioC 4 GPIO_ACTIVE_HIGH>; 48 + }; 49 + }; 50 + 51 + macb0: ethernet@fffc4000 { 52 + phy-mode = "mii"; 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + status = "okay"; 56 + 57 + ethernet-phy@1 { 58 + reg = <0x1>; 59 + }; 60 + }; 61 + 62 + spi0: spi@fffc8000 { 63 + cs-gpios = <&pioC 11 0>, <0>, <0>, <0>; 64 + status = "okay"; 65 + 66 + flash@0 { 67 + compatible = "atmel,at45", "atmel,dataflash"; 68 + spi-max-frequency = <15000000>; 69 + reg = <0>; 70 + }; 71 + }; 72 + 73 + dbgu: serial@fffff200 { 74 + status = "okay"; 75 + }; 76 + 77 + pinctrl@fffff400 { 78 + mmc0 { 79 + pinctrl_board_mmc0: mmc0-board { 80 + atmel,pins = 81 + <AT91_PIOC 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* CD pin */ 82 + AT91_PIOC 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* WP pin */ 83 + }; 84 + }; 85 + }; 86 + }; 87 + 88 + nand0: nand@40000000 { 89 + nand-bus-width = <8>; 90 + nand-ecc-mode = "soft"; 91 + nand-on-flash-bbt = <1>; 92 + status = "okay"; 93 + }; 94 + 95 + usb0: ohci@500000 { 96 + status = "okay"; 97 + }; 98 + 99 + }; 100 + 101 + i2c@0 { 102 + status = "okay"; 103 + }; 104 + 105 + leds { 106 + compatible = "gpio-leds"; 107 + 108 + b0 { 109 + label = "b0"; 110 + gpios = <&pioA 6 GPIO_ACTIVE_HIGH>; 111 + linux,default-trigger = "heartbeat"; 112 + }; 113 + 114 + }; 115 + };