mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 11:04:04 +02:00
Move 1w ti board file.
This commit is contained in:
parent
ee2dc421bc
commit
f5089c2269
@ -225,22 +225,6 @@
|
||||
regulator-name = "vcc_sd";
|
||||
vin-supply = <&vcc3v3_sys>;
|
||||
};
|
||||
|
||||
onewire: onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_w1>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
gpio-w1 {
|
||||
gpio_w1:gpio-w1 {
|
||||
rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&combphy1 {
|
||||
|
@ -7,6 +7,22 @@
|
||||
/ {
|
||||
model = "BigTreeTech Pi 2";
|
||||
compatible = "bigtreetech,pi2", "rockchip,rk3566";
|
||||
|
||||
onewire: onewire {
|
||||
compatible = "w1-gpio";
|
||||
gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_w1>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
gpio-w1 {
|
||||
gpio_w1:gpio-w1 {
|
||||
rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* HDMI output */
|
||||
@ -60,3 +76,15 @@
|
||||
&bl_dsi {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sfc {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <100000000>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-tx-bus-width = <1>;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user