xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7100-common.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
15076da2aSCristian Ciocaltea// SPDX-License-Identifier: GPL-2.0 OR MIT
25076da2aSCristian Ciocaltea/*
35076da2aSCristian Ciocaltea * Copyright (C) 2021 StarFive Technology Co., Ltd.
45076da2aSCristian Ciocaltea * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk>
55076da2aSCristian Ciocaltea */
65076da2aSCristian Ciocaltea
75076da2aSCristian Ciocaltea/dts-v1/;
85076da2aSCristian Ciocaltea#include "jh7100.dtsi"
95076da2aSCristian Ciocaltea#include <dt-bindings/gpio/gpio.h>
105076da2aSCristian Ciocaltea#include <dt-bindings/leds/common.h>
115076da2aSCristian Ciocaltea#include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h>
125076da2aSCristian Ciocaltea
135076da2aSCristian Ciocaltea/ {
145076da2aSCristian Ciocaltea	aliases {
15c548409cSEmil Renner Berthing		mmc0 = &sdio0;
1656b10953SEmil Renner Berthing		mmc1 = &sdio1;
175076da2aSCristian Ciocaltea		serial0 = &uart3;
185076da2aSCristian Ciocaltea	};
195076da2aSCristian Ciocaltea
205076da2aSCristian Ciocaltea	chosen {
215076da2aSCristian Ciocaltea		stdout-path = "serial0:115200n8";
225076da2aSCristian Ciocaltea	};
235076da2aSCristian Ciocaltea
245076da2aSCristian Ciocaltea	cpus {
255076da2aSCristian Ciocaltea		timebase-frequency = <6250000>;
265076da2aSCristian Ciocaltea	};
275076da2aSCristian Ciocaltea
285076da2aSCristian Ciocaltea	memory@80000000 {
295076da2aSCristian Ciocaltea		device_type = "memory";
305076da2aSCristian Ciocaltea		reg = <0x0 0x80000000 0x2 0x0>;
315076da2aSCristian Ciocaltea	};
325076da2aSCristian Ciocaltea
335076da2aSCristian Ciocaltea	leds {
345076da2aSCristian Ciocaltea		compatible = "gpio-leds";
355076da2aSCristian Ciocaltea
365076da2aSCristian Ciocaltea		led-ack {
375076da2aSCristian Ciocaltea			gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
385076da2aSCristian Ciocaltea			color = <LED_COLOR_ID_GREEN>;
395076da2aSCristian Ciocaltea			function = LED_FUNCTION_HEARTBEAT;
405076da2aSCristian Ciocaltea			linux,default-trigger = "heartbeat";
415076da2aSCristian Ciocaltea			label = "ack";
425076da2aSCristian Ciocaltea		};
435076da2aSCristian Ciocaltea	};
440a99b562SEmil Renner Berthing
450a99b562SEmil Renner Berthing	reserved-memory {
460a99b562SEmil Renner Berthing		#address-cells = <2>;
470a99b562SEmil Renner Berthing		#size-cells = <2>;
480a99b562SEmil Renner Berthing		ranges;
490a99b562SEmil Renner Berthing
500a99b562SEmil Renner Berthing		dma-reserved@fa000000 {
510a99b562SEmil Renner Berthing			reg = <0x0 0xfa000000 0x0 0x1000000>;
520a99b562SEmil Renner Berthing			no-map;
530a99b562SEmil Renner Berthing		};
540a99b562SEmil Renner Berthing
550a99b562SEmil Renner Berthing		linux,dma@107a000000 {
560a99b562SEmil Renner Berthing			compatible = "shared-dma-pool";
570a99b562SEmil Renner Berthing			reg = <0x10 0x7a000000 0x0 0x1000000>;
580a99b562SEmil Renner Berthing			no-map;
590a99b562SEmil Renner Berthing			linux,dma-default;
600a99b562SEmil Renner Berthing		};
610a99b562SEmil Renner Berthing	};
620a99b562SEmil Renner Berthing
630a99b562SEmil Renner Berthing	soc {
640a99b562SEmil Renner Berthing		dma-ranges = <0x00 0x80000000 0x00 0x80000000 0x00 0x7a000000>,
650a99b562SEmil Renner Berthing			     <0x00 0xfa000000 0x10 0x7a000000 0x00 0x01000000>,
660a99b562SEmil Renner Berthing			     <0x00 0xfb000000 0x00 0xfb000000 0x07 0x85000000>;
670a99b562SEmil Renner Berthing	};
6856b10953SEmil Renner Berthing
6956b10953SEmil Renner Berthing	wifi_pwrseq: wifi-pwrseq {
7056b10953SEmil Renner Berthing		compatible = "mmc-pwrseq-simple";
7156b10953SEmil Renner Berthing		reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
7256b10953SEmil Renner Berthing	};
735076da2aSCristian Ciocaltea};
745076da2aSCristian Ciocaltea
75*6e204aa2SCristian Ciocaltea&gmac {
76*6e204aa2SCristian Ciocaltea	pinctrl-names = "default";
77*6e204aa2SCristian Ciocaltea	pinctrl-0 = <&gmac_pins>;
78*6e204aa2SCristian Ciocaltea	phy-mode = "rgmii-id";
79*6e204aa2SCristian Ciocaltea	status = "okay";
80*6e204aa2SCristian Ciocaltea
81*6e204aa2SCristian Ciocaltea	mdio: mdio {
82*6e204aa2SCristian Ciocaltea		#address-cells = <1>;
83*6e204aa2SCristian Ciocaltea		#size-cells = <0>;
84*6e204aa2SCristian Ciocaltea		compatible = "snps,dwmac-mdio";
85*6e204aa2SCristian Ciocaltea	};
86*6e204aa2SCristian Ciocaltea};
87*6e204aa2SCristian Ciocaltea
885076da2aSCristian Ciocaltea&gpio {
89*6e204aa2SCristian Ciocaltea	gmac_pins: gmac-0 {
90*6e204aa2SCristian Ciocaltea		gtxclk-pins {
91*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(115)>;
92*6e204aa2SCristian Ciocaltea			bias-pull-up;
93*6e204aa2SCristian Ciocaltea			drive-strength = <35>;
94*6e204aa2SCristian Ciocaltea			input-enable;
95*6e204aa2SCristian Ciocaltea			input-schmitt-enable;
96*6e204aa2SCristian Ciocaltea			slew-rate = <0>;
97*6e204aa2SCristian Ciocaltea		};
98*6e204aa2SCristian Ciocaltea		miitxclk-pins {
99*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(116)>;
100*6e204aa2SCristian Ciocaltea			bias-pull-up;
101*6e204aa2SCristian Ciocaltea			drive-strength = <14>;
102*6e204aa2SCristian Ciocaltea			input-enable;
103*6e204aa2SCristian Ciocaltea			input-schmitt-disable;
104*6e204aa2SCristian Ciocaltea			slew-rate = <0>;
105*6e204aa2SCristian Ciocaltea		};
106*6e204aa2SCristian Ciocaltea		tx-pins {
107*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(117)>,
108*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(119)>,
109*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(120)>,
110*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(121)>,
111*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(122)>,
112*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(123)>,
113*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(124)>,
114*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(125)>,
115*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(126)>;
116*6e204aa2SCristian Ciocaltea			bias-pull-up;
117*6e204aa2SCristian Ciocaltea			drive-strength = <35>;
118*6e204aa2SCristian Ciocaltea			input-disable;
119*6e204aa2SCristian Ciocaltea			input-schmitt-disable;
120*6e204aa2SCristian Ciocaltea			slew-rate = <0>;
121*6e204aa2SCristian Ciocaltea		};
122*6e204aa2SCristian Ciocaltea		rxclk-pins {
123*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(127)>;
124*6e204aa2SCristian Ciocaltea			bias-pull-up;
125*6e204aa2SCristian Ciocaltea			drive-strength = <14>;
126*6e204aa2SCristian Ciocaltea			input-enable;
127*6e204aa2SCristian Ciocaltea			input-schmitt-disable;
128*6e204aa2SCristian Ciocaltea			slew-rate = <6>;
129*6e204aa2SCristian Ciocaltea		};
130*6e204aa2SCristian Ciocaltea		rxer-pins {
131*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(129)>;
132*6e204aa2SCristian Ciocaltea			bias-pull-up;
133*6e204aa2SCristian Ciocaltea			drive-strength = <14>;
134*6e204aa2SCristian Ciocaltea			input-enable;
135*6e204aa2SCristian Ciocaltea			input-schmitt-disable;
136*6e204aa2SCristian Ciocaltea			slew-rate = <0>;
137*6e204aa2SCristian Ciocaltea		};
138*6e204aa2SCristian Ciocaltea		rx-pins {
139*6e204aa2SCristian Ciocaltea			pins = <PAD_FUNC_SHARE(128)>,
140*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(130)>,
141*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(131)>,
142*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(132)>,
143*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(133)>,
144*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(134)>,
145*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(135)>,
146*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(136)>,
147*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(137)>,
148*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(138)>,
149*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(139)>,
150*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(140)>,
151*6e204aa2SCristian Ciocaltea			       <PAD_FUNC_SHARE(141)>;
152*6e204aa2SCristian Ciocaltea			bias-pull-up;
153*6e204aa2SCristian Ciocaltea			drive-strength = <14>;
154*6e204aa2SCristian Ciocaltea			input-enable;
155*6e204aa2SCristian Ciocaltea			input-schmitt-enable;
156*6e204aa2SCristian Ciocaltea			slew-rate = <0>;
157*6e204aa2SCristian Ciocaltea		};
158*6e204aa2SCristian Ciocaltea	};
159*6e204aa2SCristian Ciocaltea
1605076da2aSCristian Ciocaltea	i2c0_pins: i2c0-0 {
1615076da2aSCristian Ciocaltea		i2c-pins {
1625076da2aSCristian Ciocaltea			pinmux = <GPIOMUX(62, GPO_LOW,
1635076da2aSCristian Ciocaltea				  GPO_I2C0_PAD_SCK_OEN,
1645076da2aSCristian Ciocaltea				  GPI_I2C0_PAD_SCK_IN)>,
1655076da2aSCristian Ciocaltea				 <GPIOMUX(61, GPO_LOW,
1665076da2aSCristian Ciocaltea				  GPO_I2C0_PAD_SDA_OEN,
1675076da2aSCristian Ciocaltea				  GPI_I2C0_PAD_SDA_IN)>;
1685076da2aSCristian Ciocaltea			bias-disable; /* external pull-up */
1695076da2aSCristian Ciocaltea			input-enable;
1705076da2aSCristian Ciocaltea			input-schmitt-enable;
1715076da2aSCristian Ciocaltea		};
1725076da2aSCristian Ciocaltea	};
1735076da2aSCristian Ciocaltea
1745076da2aSCristian Ciocaltea	i2c1_pins: i2c1-0 {
1755076da2aSCristian Ciocaltea		i2c-pins {
1765076da2aSCristian Ciocaltea			pinmux = <GPIOMUX(47, GPO_LOW,
1775076da2aSCristian Ciocaltea				  GPO_I2C1_PAD_SCK_OEN,
1785076da2aSCristian Ciocaltea				  GPI_I2C1_PAD_SCK_IN)>,
1795076da2aSCristian Ciocaltea				 <GPIOMUX(48, GPO_LOW,
1805076da2aSCristian Ciocaltea				  GPO_I2C1_PAD_SDA_OEN,
1815076da2aSCristian Ciocaltea				  GPI_I2C1_PAD_SDA_IN)>;
1825076da2aSCristian Ciocaltea			bias-pull-up;
1835076da2aSCristian Ciocaltea			input-enable;
1845076da2aSCristian Ciocaltea			input-schmitt-enable;
1855076da2aSCristian Ciocaltea		};
1865076da2aSCristian Ciocaltea	};
1875076da2aSCristian Ciocaltea
1885076da2aSCristian Ciocaltea	i2c2_pins: i2c2-0 {
1895076da2aSCristian Ciocaltea		i2c-pins {
1905076da2aSCristian Ciocaltea			pinmux = <GPIOMUX(60, GPO_LOW,
1915076da2aSCristian Ciocaltea				  GPO_I2C2_PAD_SCK_OEN,
1925076da2aSCristian Ciocaltea				  GPI_I2C2_PAD_SCK_IN)>,
1935076da2aSCristian Ciocaltea				 <GPIOMUX(59, GPO_LOW,
1945076da2aSCristian Ciocaltea				  GPO_I2C2_PAD_SDA_OEN,
1955076da2aSCristian Ciocaltea				  GPI_I2C2_PAD_SDA_IN)>;
1965076da2aSCristian Ciocaltea			bias-disable; /* external pull-up */
1975076da2aSCristian Ciocaltea			input-enable;
1985076da2aSCristian Ciocaltea			input-schmitt-enable;
1995076da2aSCristian Ciocaltea		};
2005076da2aSCristian Ciocaltea	};
2015076da2aSCristian Ciocaltea
2025e598b99SWilliam Qiu	pwm_pins: pwm-0 {
2035e598b99SWilliam Qiu		pwm-pins {
2045e598b99SWilliam Qiu			pinmux = <GPIOMUX(7,
2055e598b99SWilliam Qiu				  GPO_PWM_PAD_OUT_BIT0,
2065e598b99SWilliam Qiu				  GPO_PWM_PAD_OE_N_BIT0,
2075e598b99SWilliam Qiu				  GPI_NONE)>,
2085e598b99SWilliam Qiu				 <GPIOMUX(5,
2095e598b99SWilliam Qiu				  GPO_PWM_PAD_OUT_BIT1,
2105e598b99SWilliam Qiu				  GPO_PWM_PAD_OE_N_BIT1,
2115e598b99SWilliam Qiu				  GPI_NONE)>;
2125e598b99SWilliam Qiu			bias-disable;
2135e598b99SWilliam Qiu			drive-strength = <35>;
2145e598b99SWilliam Qiu			input-disable;
2155e598b99SWilliam Qiu			input-schmitt-disable;
2165e598b99SWilliam Qiu			slew-rate = <0>;
2175e598b99SWilliam Qiu		};
2185e598b99SWilliam Qiu	};
2195e598b99SWilliam Qiu
220c548409cSEmil Renner Berthing	sdio0_pins: sdio0-0 {
221c548409cSEmil Renner Berthing		clk-pins {
222c548409cSEmil Renner Berthing			pinmux = <GPIOMUX(54, GPO_SDIO0_PAD_CCLK_OUT,
223c548409cSEmil Renner Berthing				  GPO_ENABLE, GPI_NONE)>;
224c548409cSEmil Renner Berthing			bias-disable;
225c548409cSEmil Renner Berthing			input-disable;
226c548409cSEmil Renner Berthing			input-schmitt-disable;
227c548409cSEmil Renner Berthing		};
228c548409cSEmil Renner Berthing		sdio-pins {
229c548409cSEmil Renner Berthing			pinmux = <GPIOMUX(55, GPO_LOW, GPO_DISABLE,
230c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CARD_DETECT_N)>,
231c548409cSEmil Renner Berthing				 <GPIOMUX(53,
232c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CCMD_OUT,
233c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CCMD_OEN,
234c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CCMD_IN)>,
235c548409cSEmil Renner Berthing				 <GPIOMUX(49,
236c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OUT_BIT0,
237c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OEN_BIT0,
238c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CDATA_IN_BIT0)>,
239c548409cSEmil Renner Berthing				 <GPIOMUX(50,
240c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OUT_BIT1,
241c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OEN_BIT1,
242c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CDATA_IN_BIT1)>,
243c548409cSEmil Renner Berthing				 <GPIOMUX(51,
244c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OUT_BIT2,
245c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OEN_BIT2,
246c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CDATA_IN_BIT2)>,
247c548409cSEmil Renner Berthing				 <GPIOMUX(52,
248c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OUT_BIT3,
249c548409cSEmil Renner Berthing				  GPO_SDIO0_PAD_CDATA_OEN_BIT3,
250c548409cSEmil Renner Berthing				  GPI_SDIO0_PAD_CDATA_IN_BIT3)>;
251c548409cSEmil Renner Berthing			bias-pull-up;
252c548409cSEmil Renner Berthing			input-enable;
253c548409cSEmil Renner Berthing			input-schmitt-enable;
254c548409cSEmil Renner Berthing		};
255c548409cSEmil Renner Berthing	};
256c548409cSEmil Renner Berthing
25756b10953SEmil Renner Berthing	sdio1_pins: sdio1-0 {
25856b10953SEmil Renner Berthing		clk-pins {
25956b10953SEmil Renner Berthing			pinmux = <GPIOMUX(33, GPO_SDIO1_PAD_CCLK_OUT,
26056b10953SEmil Renner Berthing				  GPO_ENABLE, GPI_NONE)>;
26156b10953SEmil Renner Berthing			bias-disable;
26256b10953SEmil Renner Berthing			input-disable;
26356b10953SEmil Renner Berthing			input-schmitt-disable;
26456b10953SEmil Renner Berthing		};
26556b10953SEmil Renner Berthing		sdio-pins {
26656b10953SEmil Renner Berthing			pinmux = <GPIOMUX(29,
26756b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CCMD_OUT,
26856b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CCMD_OEN,
26956b10953SEmil Renner Berthing				  GPI_SDIO1_PAD_CCMD_IN)>,
27056b10953SEmil Renner Berthing				 <GPIOMUX(36,
27156b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OUT_BIT0,
27256b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OEN_BIT0,
27356b10953SEmil Renner Berthing				  GPI_SDIO1_PAD_CDATA_IN_BIT0)>,
27456b10953SEmil Renner Berthing				 <GPIOMUX(30,
27556b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OUT_BIT1,
27656b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OEN_BIT1,
27756b10953SEmil Renner Berthing				  GPI_SDIO1_PAD_CDATA_IN_BIT1)>,
27856b10953SEmil Renner Berthing				 <GPIOMUX(34,
27956b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OUT_BIT2,
28056b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OEN_BIT2,
28156b10953SEmil Renner Berthing				  GPI_SDIO1_PAD_CDATA_IN_BIT2)>,
28256b10953SEmil Renner Berthing				 <GPIOMUX(31,
28356b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OUT_BIT3,
28456b10953SEmil Renner Berthing				  GPO_SDIO1_PAD_CDATA_OEN_BIT3,
28556b10953SEmil Renner Berthing				  GPI_SDIO1_PAD_CDATA_IN_BIT3)>;
28656b10953SEmil Renner Berthing			bias-pull-up;
28756b10953SEmil Renner Berthing			input-enable;
28856b10953SEmil Renner Berthing			input-schmitt-enable;
28956b10953SEmil Renner Berthing		};
29056b10953SEmil Renner Berthing	};
29156b10953SEmil Renner Berthing
2925076da2aSCristian Ciocaltea	uart3_pins: uart3-0 {
2935076da2aSCristian Ciocaltea		rx-pins {
2945076da2aSCristian Ciocaltea			pinmux = <GPIOMUX(13, GPO_LOW, GPO_DISABLE,
2955076da2aSCristian Ciocaltea				  GPI_UART3_PAD_SIN)>;
2965076da2aSCristian Ciocaltea			bias-pull-up;
2975076da2aSCristian Ciocaltea			drive-strength = <14>;
2985076da2aSCristian Ciocaltea			input-enable;
2995076da2aSCristian Ciocaltea			input-schmitt-enable;
3005076da2aSCristian Ciocaltea			slew-rate = <0>;
3015076da2aSCristian Ciocaltea		};
3025076da2aSCristian Ciocaltea		tx-pins {
3035076da2aSCristian Ciocaltea			pinmux = <GPIOMUX(14, GPO_UART3_PAD_SOUT,
3045076da2aSCristian Ciocaltea				  GPO_ENABLE, GPI_NONE)>;
3055076da2aSCristian Ciocaltea			bias-disable;
3065076da2aSCristian Ciocaltea			drive-strength = <35>;
3075076da2aSCristian Ciocaltea			input-disable;
3085076da2aSCristian Ciocaltea			input-schmitt-disable;
3095076da2aSCristian Ciocaltea			slew-rate = <0>;
3105076da2aSCristian Ciocaltea		};
3115076da2aSCristian Ciocaltea	};
3125076da2aSCristian Ciocaltea};
3135076da2aSCristian Ciocaltea
3145076da2aSCristian Ciocaltea&i2c0 {
3155076da2aSCristian Ciocaltea	clock-frequency = <100000>;
3165076da2aSCristian Ciocaltea	i2c-sda-hold-time-ns = <300>;
3175076da2aSCristian Ciocaltea	i2c-sda-falling-time-ns = <500>;
3185076da2aSCristian Ciocaltea	i2c-scl-falling-time-ns = <500>;
3195076da2aSCristian Ciocaltea	pinctrl-names = "default";
3205076da2aSCristian Ciocaltea	pinctrl-0 = <&i2c0_pins>;
3215076da2aSCristian Ciocaltea	status = "okay";
3225076da2aSCristian Ciocaltea
3235076da2aSCristian Ciocaltea	pmic@5e {
3245076da2aSCristian Ciocaltea		compatible = "ti,tps65086";
3255076da2aSCristian Ciocaltea		reg = <0x5e>;
3265076da2aSCristian Ciocaltea		gpio-controller;
3275076da2aSCristian Ciocaltea		#gpio-cells = <2>;
3285076da2aSCristian Ciocaltea
3295076da2aSCristian Ciocaltea		regulators {
3305076da2aSCristian Ciocaltea		};
3315076da2aSCristian Ciocaltea	};
3325076da2aSCristian Ciocaltea};
3335076da2aSCristian Ciocaltea
3345076da2aSCristian Ciocaltea&i2c1 {
3355076da2aSCristian Ciocaltea	clock-frequency = <400000>;
3365076da2aSCristian Ciocaltea	i2c-sda-hold-time-ns = <300>;
3375076da2aSCristian Ciocaltea	i2c-sda-falling-time-ns = <100>;
3385076da2aSCristian Ciocaltea	i2c-scl-falling-time-ns = <100>;
3395076da2aSCristian Ciocaltea	pinctrl-names = "default";
3405076da2aSCristian Ciocaltea	pinctrl-0 = <&i2c1_pins>;
3415076da2aSCristian Ciocaltea	status = "okay";
3425076da2aSCristian Ciocaltea};
3435076da2aSCristian Ciocaltea
3445076da2aSCristian Ciocaltea&i2c2 {
3455076da2aSCristian Ciocaltea	clock-frequency = <100000>;
3465076da2aSCristian Ciocaltea	i2c-sda-hold-time-ns = <300>;
3475076da2aSCristian Ciocaltea	i2c-sda-falling-time-ns = <500>;
3485076da2aSCristian Ciocaltea	i2c-scl-falling-time-ns = <500>;
3495076da2aSCristian Ciocaltea	pinctrl-names = "default";
3505076da2aSCristian Ciocaltea	pinctrl-0 = <&i2c2_pins>;
3515076da2aSCristian Ciocaltea	status = "okay";
3525076da2aSCristian Ciocaltea};
3535076da2aSCristian Ciocaltea
3545076da2aSCristian Ciocaltea&osc_sys {
3555076da2aSCristian Ciocaltea	clock-frequency = <25000000>;
3565076da2aSCristian Ciocaltea};
3575076da2aSCristian Ciocaltea
3585076da2aSCristian Ciocaltea&osc_aud {
3595076da2aSCristian Ciocaltea	clock-frequency = <27000000>;
3605076da2aSCristian Ciocaltea};
3615076da2aSCristian Ciocaltea
3625e598b99SWilliam Qiu&pwm {
3635e598b99SWilliam Qiu	pinctrl-names = "default";
3645e598b99SWilliam Qiu	pinctrl-0 = <&pwm_pins>;
3655e598b99SWilliam Qiu	status = "okay";
3665e598b99SWilliam Qiu};
3675e598b99SWilliam Qiu
368c548409cSEmil Renner Berthing&sdio0 {
369c548409cSEmil Renner Berthing	broken-cd;
370c548409cSEmil Renner Berthing	bus-width = <4>;
371c548409cSEmil Renner Berthing	cap-sd-highspeed;
372c548409cSEmil Renner Berthing	pinctrl-names = "default";
373c548409cSEmil Renner Berthing	pinctrl-0 = <&sdio0_pins>;
374c548409cSEmil Renner Berthing	status = "okay";
375c548409cSEmil Renner Berthing};
376c548409cSEmil Renner Berthing
37756b10953SEmil Renner Berthing&sdio1 {
37856b10953SEmil Renner Berthing	#address-cells = <1>;
37956b10953SEmil Renner Berthing	#size-cells = <0>;
38056b10953SEmil Renner Berthing	bus-width = <4>;
38156b10953SEmil Renner Berthing	cap-sd-highspeed;
38256b10953SEmil Renner Berthing	cap-sdio-irq;
38356b10953SEmil Renner Berthing	cap-power-off-card;
38456b10953SEmil Renner Berthing	mmc-pwrseq = <&wifi_pwrseq>;
38556b10953SEmil Renner Berthing	non-removable;
38656b10953SEmil Renner Berthing	pinctrl-names = "default";
38756b10953SEmil Renner Berthing	pinctrl-0 = <&sdio1_pins>;
38856b10953SEmil Renner Berthing	status = "okay";
38956b10953SEmil Renner Berthing
39056b10953SEmil Renner Berthing	wifi@1 {
39156b10953SEmil Renner Berthing		compatible = "brcm,bcm4329-fmac";
39256b10953SEmil Renner Berthing		reg = <1>;
39356b10953SEmil Renner Berthing	};
39456b10953SEmil Renner Berthing};
39556b10953SEmil Renner Berthing
3965076da2aSCristian Ciocaltea&uart3 {
3975076da2aSCristian Ciocaltea	pinctrl-names = "default";
3985076da2aSCristian Ciocaltea	pinctrl-0 = <&uart3_pins>;
3995076da2aSCristian Ciocaltea	status = "okay";
4005076da2aSCristian Ciocaltea};
401