summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts
blob: 06f887a37e28e597dd46904c6e0eaa4fff917282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/dts-v1/;

#include "mt7621_ubiquiti_edgerouterx.dtsi"

#include <dt-bindings/gpio/gpio.h>

/ {
	model = "UBNT-ERX-SFP";
	compatible = "ubiquiti,edgerouterx-sfp", "mediatek,mt7621-soc";

	i2c-gpio {
		compatible = "i2c-gpio";
		gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* sda */
		         &gpio0 4 GPIO_ACTIVE_HIGH /* scl */
		        >;
		#address-cells = <1>;
		#size-cells = <0>;

		pca9555@25 {
			compatible = "pca9555";
			reg = <0x25>;
		};
	};
};