blob: 21986ecd42cb823bdbd7d1c1bbbad4441dd02cd0 [file] [log] [blame]
Nicolas Ferre8ba10c72019-08-08 07:48:26 +00001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
4 *
5 * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
6 *
7 * Author: Nicolas Ferre <nicolas.ferre@microcihp.com>
8 */
9/dts-v1/;
10#include "sama5d27_wlsom1.dtsi"
11
12/ {
13 model = "Microchip SAMA5D27 WLSOM1 EK";
14 compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d2", "atmel,sama5";
15
16 chosen {
17 stdout-path = &uart0;
18 };
19
20 onewire_tm: onewire {
21 gpios = <&pioA PIN_PC9 0>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_onewire_tm_default>;
24 status = "okay";
25
26 w1_eeprom: w1_eeprom@0 {
27 compatible = "maxim,ds24b33";
28 status = "okay";
29 };
30 };
31
32 ahb {
33 sdmmc0: sdio-host@a0000000 {
34 bus-width = <4>;
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_sdmmc0_cmd_dat_default &pinctrl_sdmmc0_ck_cd_default>;
37 status = "okay";
38 };
39
40 apb {
41 macb0: ethernet@f8008000 {
42 status = "okay";
43 };
44
45 uart0: serial@f801c000 {
46 pinctrl-names = "default";
47 pinctrl-0 = <&pinctrl_uart0_default>;
48 status = "okay";
49 };
50
51 pioA: gpio@fc038000 {
52 pinctrl {
53 pinctrl_sdmmc0_cmd_dat_default: sdmmc0_cmd_dat_default {
54 pinmux = <PIN_PA1__SDMMC0_CMD>,
55 <PIN_PA2__SDMMC0_DAT0>,
56 <PIN_PA3__SDMMC0_DAT1>,
57 <PIN_PA4__SDMMC0_DAT2>,
58 <PIN_PA5__SDMMC0_DAT3>;
59 bias-disable;
60 };
61
62 pinctrl_sdmmc0_ck_cd_default: sdmmc0_ck_cd_default {
63 pinmux = <PIN_PA0__SDMMC0_CK>,
64 <PIN_PA11__SDMMC0_VDDSEL>,
65 <PIN_PA12__SDMMC0_WP>,
66 <PIN_PA13__SDMMC0_CD>;
67 bias-disable;
68 };
69
70 pinctrl_uart0_default: uart0_default {
71 pinmux = <PIN_PB26__URXD0>,
72 <PIN_PB27__UTXD0>;
73 bias-disable;
74 };
75
76 pinctrl_onewire_tm_default: onewire_tm_default {
77 pinmux = <PIN_PC9__GPIO>;
78 bias-pull-up;
79 };
80 };
81 };
82 };
83 };
84};