Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
 4 *
 5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 
 
 6 */
 7/dts-v1/;
 8#include "at91sam9g20ek_common.dtsi"
 9
10/ {
11	model = "Atmel at91sam9g20ek";
12	compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
13
14	leds {
15		compatible = "gpio-leds";
16
17		ds1 {
18			label = "ds1";
19			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
20			linux,default-trigger = "heartbeat";
21		};
22
23		ds5 {
24			label = "ds5";
25			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
26		};
27	};
28};
v4.6
 
 1/*
 2 * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board
 3 *
 4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 5 *
 6 * Licensed under GPLv2.
 7 */
 8/dts-v1/;
 9#include "at91sam9g20ek_common.dtsi"
10
11/ {
12	model = "Atmel at91sam9g20ek";
13	compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
14
15	leds {
16		compatible = "gpio-leds";
17
18		ds1 {
19			label = "ds1";
20			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
21			linux,default-trigger = "heartbeat";
22		};
23
24		ds5 {
25			label = "ds5";
26			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
27		};
28	};
29};