Linux Audio

Check our new training course

Loading...
Note: File does not exist in v5.14.15.
  1/*
  2 * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
  3 *
  4 * Copyright (C) 2014 Gaƫl PORTAY <g.portay@overkiz.com>
  5 *
  6 * Licensed under GPLv2 or later.
  7 */
  8/dts-v1/;
  9#include "at91sam9g25.dtsi"
 10#include <dt-bindings/pwm/pwm.h>
 11
 12/ {
 13	model = "Overkiz Kizbox mini";
 14	compatible = "overkiz,kizboxmini", "atmel,at91sam9g25", "atmel,at91sam9x5", "atmel,at91sam9";
 15
 16	chosen {
 17		bootargs = "ubi.mtd=ubi";
 18		stdout-path = &dbgu;
 19	};
 20
 21	memory {
 22		reg = <0x20000000 0x8000000>;
 23	};
 24
 25	clocks {
 26		slow_xtal {
 27			clock-frequency = <32768>;
 28		};
 29
 30		main_xtal {
 31			clock-frequency = <12000000>;
 32		};
 33	};
 34
 35	ahb {
 36		apb {
 37			usart0: serial@f801c000 {
 38				status = "okay";
 39			};
 40
 41			macb0: ethernet@f802c000 {
 42				phy-mode = "rmii";
 43				status = "okay";
 44			};
 45
 46			pwm0: pwm@f8034000 {
 47				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};