at91-kizboxmini.dts revision 295011
1295011Sandrew/* 2295011Sandrew * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board 3295011Sandrew * 4295011Sandrew * Copyright (C) 2014 Ga��l PORTAY <g.portay@overkiz.com> 5295011Sandrew * 6295011Sandrew * Licensed under GPLv2 or later. 7295011Sandrew */ 8295011Sandrew/dts-v1/; 9295011Sandrew#include "at91sam9g25.dtsi" 10295011Sandrew#include <dt-bindings/pwm/pwm.h> 11295011Sandrew 12295011Sandrew/ { 13295011Sandrew model = "Overkiz Kizbox mini"; 14295011Sandrew compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9"; 15295011Sandrew 16295011Sandrew chosen { 17295011Sandrew bootargs = "ubi.mtd=ubi"; 18295011Sandrew stdout-path = &dbgu; 19295011Sandrew }; 20295011Sandrew 21295011Sandrew memory { 22295011Sandrew reg = <0x20000000 0x8000000>; 23295011Sandrew }; 24295011Sandrew 25295011Sandrew clocks { 26295011Sandrew slow_xtal { 27295011Sandrew clock-frequency = <32768>; 28295011Sandrew }; 29295011Sandrew 30295011Sandrew main_xtal { 31295011Sandrew clock-frequency = <12000000>; 32295011Sandrew }; 33295011Sandrew }; 34295011Sandrew 35295011Sandrew ahb { 36295011Sandrew apb { 37295011Sandrew usart0: serial@f801c000 { 38295011Sandrew status = "okay"; 39295011Sandrew }; 40295011Sandrew 41295011Sandrew macb0: ethernet@f802c000 { 42295011Sandrew phy-mode = "rmii"; 43295011Sandrew status = "okay"; 44295011Sandrew }; 45295011Sandrew 46295011Sandrew pwm0: pwm@f8034000 { 47295011Sandrew pinctrl-names = "default"; 48295011Sandrew pinctrl-0 = <&pinctrl_pwm0_pwm0_1 49295011Sandrew &pinctrl_pwm0_pwm1_1>; 50295011Sandrew status = "okay"; 51295011Sandrew }; 52295011Sandrew 53295011Sandrew dbgu: serial@fffff200 { 54295011Sandrew status = "okay"; 55295011Sandrew }; 56295011Sandrew 57295011Sandrew watchdog@fffffe40 { 58295011Sandrew status = "okay"; 59295011Sandrew }; 60295011Sandrew }; 61295011Sandrew 62295011Sandrew usb0: ohci@00600000 { 63295011Sandrew num-ports = <1>; 64295011Sandrew status = "okay"; 65295011Sandrew }; 66295011Sandrew 67295011Sandrew usb1: ehci@00700000 { 68295011Sandrew status = "okay"; 69295011Sandrew }; 70295011Sandrew 71295011Sandrew nand0: nand@40000000 { 72295011Sandrew nand-bus-width = <8>; 73295011Sandrew nand-ecc-mode = "hw"; 74295011Sandrew atmel,has-pmecc; 75295011Sandrew atmel,pmecc-cap = <4>; 76295011Sandrew atmel,pmecc-sector-size = <512>; 77295011Sandrew nand-on-flash-bbt; 78295011Sandrew status = "okay"; 79295011Sandrew 80295011Sandrew bootstrap@0 { 81295011Sandrew label = "bootstrap"; 82295011Sandrew reg = <0x0 0x20000>; 83295011Sandrew }; 84295011Sandrew 85295011Sandrew ubi@20000 { 86295011Sandrew label = "ubi"; 87295011Sandrew reg = <0x20000 0x7fe0000>; 88295011Sandrew }; 89295011Sandrew }; 90295011Sandrew }; 91295011Sandrew 92295011Sandrew gpio_keys { 93295011Sandrew compatible = "gpio-keys"; 94295011Sandrew #address-cells = <1>; 95295011Sandrew #size-cells = <0>; 96295011Sandrew 97295011Sandrew prog { 98295011Sandrew label = "PB_PROG"; 99295011Sandrew gpios = <&pioC 17 GPIO_ACTIVE_LOW>; 100295011Sandrew linux,code = <0x102>; 101295011Sandrew wakeup-source; 102295011Sandrew }; 103295011Sandrew 104295011Sandrew reset { 105295011Sandrew label = "PB_RST"; 106295011Sandrew gpios = <&pioC 16 GPIO_ACTIVE_LOW>; 107295011Sandrew linux,code = <0x100>; 108295011Sandrew wakeup-source; 109295011Sandrew }; 110295011Sandrew }; 111295011Sandrew 112295011Sandrew pwm_leds { 113295011Sandrew compatible = "pwm-leds"; 114295011Sandrew 115295011Sandrew green { 116295011Sandrew label = "pwm:green:user"; 117295011Sandrew pwms = <&pwm0 0 10000000 0>; 118295011Sandrew max-brightness = <255>; 119295011Sandrew linux,default-trigger = "default-on"; 120295011Sandrew }; 121295011Sandrew 122295011Sandrew red { 123295011Sandrew label = "pwm:red:user"; 124295011Sandrew pwms = <&pwm0 1 10000000 0>; 125295011Sandrew max-brightness = <255>; 126295011Sandrew linux,default-trigger = "default-on"; 127295011Sandrew }; 128295011Sandrew }; 129295011Sandrew}; 130