at91-kizboxmini.dts revision 302408
180434Schris/* 280434Schris * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board 381278Sru * 480434Schris * Copyright (C) 2014 Ga��l PORTAY <g.portay@overkiz.com> 580434Schris * 680434Schris * Licensed under GPLv2 or later. 780434Schris */ 880434Schris/dts-v1/; 980434Schris#include "at91sam9g25.dtsi" 1080434Schris#include <dt-bindings/pwm/pwm.h> 1180434Schris 1281278Sru/ { 1380434Schris model = "Overkiz Kizbox mini"; 1480434Schris compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9"; 1580434Schris 1680434Schris chosen { 1780434Schris bootargs = "ubi.mtd=ubi"; 1880434Schris stdout-path = &dbgu; 1980434Schris }; 2080434Schris 2180434Schris memory { 2280434Schris reg = <0x20000000 0x8000000>; 2380434Schris }; 2481278Sru 25141580Sru clocks { 2681278Sru slow_xtal { 2780434Schris clock-frequency = <32768>; 2880434Schris }; 2980434Schris 3080434Schris main_xtal { 3180434Schris clock-frequency = <12000000>; 32107788Sru }; 3380434Schris }; 3488509Sdavidc 3581278Sru ahb { 3680434Schris apb { 3780434Schris usart0: serial@f801c000 { 3880434Schris status = "okay"; 3980434Schris }; 4080434Schris 4180434Schris macb0: ethernet@f802c000 { 4280434Schris phy-mode = "rmii"; 43107788Sru status = "okay"; 4480434Schris }; 4580434Schris 4680434Schris pwm0: pwm@f8034000 { 4780434Schris pinctrl-names = "default"; 48 pinctrl-0 = <&pinctrl_pwm0_pwm0_1 49 &pinctrl_pwm0_pwm1_1>; 50 status = "okay"; 51 }; 52 53 dbgu: serial@fffff200 { 54 status = "okay"; 55 }; 56 57 watchdog@fffffe40 { 58 status = "okay"; 59 }; 60 }; 61 62 usb0: ohci@00600000 { 63 num-ports = <1>; 64 status = "okay"; 65 }; 66 67 usb1: ehci@00700000 { 68 status = "okay"; 69 }; 70 71 nand0: nand@40000000 { 72 nand-bus-width = <8>; 73 nand-ecc-mode = "hw"; 74 atmel,has-pmecc; 75 atmel,pmecc-cap = <4>; 76 atmel,pmecc-sector-size = <512>; 77 nand-on-flash-bbt; 78 status = "okay"; 79 80 bootstrap@0 { 81 label = "bootstrap"; 82 reg = <0x0 0x20000>; 83 }; 84 85 ubi@20000 { 86 label = "ubi"; 87 reg = <0x20000 0x7fe0000>; 88 }; 89 }; 90 }; 91 92 gpio_keys { 93 compatible = "gpio-keys"; 94 #address-cells = <1>; 95 #size-cells = <0>; 96 97 prog { 98 label = "PB_PROG"; 99 gpios = <&pioC 17 GPIO_ACTIVE_LOW>; 100 linux,code = <0x102>; 101 wakeup-source; 102 }; 103 104 reset { 105 label = "PB_RST"; 106 gpios = <&pioC 16 GPIO_ACTIVE_LOW>; 107 linux,code = <0x100>; 108 wakeup-source; 109 }; 110 }; 111 112 pwm_leds { 113 compatible = "pwm-leds"; 114 115 green { 116 label = "pwm:green:user"; 117 pwms = <&pwm0 0 10000000 0>; 118 max-brightness = <255>; 119 linux,default-trigger = "default-on"; 120 }; 121 122 red { 123 label = "pwm:red:user"; 124 pwms = <&pwm0 1 10000000 0>; 125 max-brightness = <255>; 126 linux,default-trigger = "default-on"; 127 }; 128 }; 129}; 130