Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * at91-wb50n.dts - Device Tree file for wb50n evaluation board
  4 *
  5 *  Copyright (C) 2018 Laird
  6 *
  7 */
  8
  9/dts-v1/;
 10#include "at91-wb50n.dtsi"
 11
 12/ {
 13	model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
 14	compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
 15
 16	gpio-keys {
 17		compatible = "gpio-keys";
 
 
 18
 19		button-0 {
 
 20			label = "BTNESC";
 21			linux,code = <1>; /* ESC button */
 22			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
 23			wakeup-source;
 24		};
 25
 26		button-1 {
 
 27			label = "IRQBTN";
 28			linux,code = <99>; /* SysReq button */
 29			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
 30			wakeup-source;
 31		};
 32	};
 33
 34	leds {
 35		compatible = "gpio-leds";
 36
 37		led0 {
 38			label = "wb50n:blue:led0";
 39			gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
 40			default-state = "off";
 41		};
 42
 43		led1 {
 44			label = "wb50n:green:led1";
 45			gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
 46			default-state = "off";
 47		};
 48
 49		led2 {
 50			label = "wb50n:red:led2";
 51			gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
 52			default-state = "off";
 53		};
 54	};
 55};
 56
 57&watchdog {
 58	status = "okay";
 59};
 60
 61&mmc0 {
 62	status = "okay";
 63};
 64
 65&macb1 {
 66	status = "okay";
 67};
 68
 69&dbgu {
 70	status = "okay";
 71};
 72
 73/* On BB40 this port is labeled UART1 */
 74&usart0 {
 75	status = "okay";
 76};
 77
 78/* On BB40 this port is labeled UART0 */
 79&usart1 {
 80	status = "okay";
 81};
 82
 83&i2c0 {
 84	status = "okay";
 85};
 86
 87&spi1 {
 88	status = "okay";
 
 
 
 
 
 
 89};
 90
 91&usb0 {
 92	status = "okay";
 93};
 94
 95&usb1 {
 96	status = "okay";
 97};
 98
 99&usb2 {
100	status = "okay";
101};
102
v5.14.15
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * at91-wb50n.dts - Device Tree file for wb50n evaluation board
  4 *
  5 *  Copyright (C) 2018 Laird
  6 *
  7 */
  8
  9/dts-v1/;
 10#include "at91-wb50n.dtsi"
 11
 12/ {
 13	model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
 14	compatible = "laird,wb50n", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
 15
 16	gpio_keys {
 17		compatible = "gpio-keys";
 18		#address-cells = <1>;
 19		#size-cells = <0>;
 20
 21		btn0@10 {
 22			reg = <10>;
 23			label = "BTNESC";
 24			linux,code = <1>; /* ESC button */
 25			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
 26			wakeup-source;
 27		};
 28
 29		irqbtn@31 {
 30			reg = <31>;
 31			label = "IRQBTN";
 32			linux,code = <99>; /* SysReq button */
 33			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
 34			wakeup-source;
 35		};
 36	};
 37
 38	leds {
 39		compatible = "gpio-leds";
 40
 41		led0 {
 42			label = "wb50n:blue:led0";
 43			gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
 44			default-state = "off";
 45		};
 46
 47		led1 {
 48			label = "wb50n:green:led1";
 49			gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
 50			default-state = "off";
 51		};
 52
 53		led2 {
 54			label = "wb50n:red:led2";
 55			gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
 56			default-state = "off";
 57		};
 58	};
 59};
 60
 61&watchdog {
 62	status = "okay";
 63};
 64
 65&mmc0 {
 66	status = "okay";
 67};
 68
 69&macb1 {
 70	status = "okay";
 71};
 72
 73&dbgu {
 74	status = "okay";
 75};
 76
 77/* On BB40 this port is labeled UART1 */
 78&usart0 {
 79	status = "okay";
 80};
 81
 82/* On BB40 this port is labeled UART0 */
 83&usart1 {
 84	status = "okay";
 85};
 86
 87&i2c0 {
 88	status = "okay";
 89};
 90
 91&spi1 {
 92	status = "okay";
 93
 94	spidev@0 {
 95		compatible = "spidev";
 96		reg = <0>;
 97		spi-max-frequency = <8000000>;
 98	};
 99};
100
101&usb0 {
102	status = "okay";
103};
104
105&usb1 {
106	status = "okay";
107};
108
109&usb2 {
110	status = "okay";
111};
112