armbian-build/patch/kernel/rockchip-default/190_DTS_tinker_s_emmc.patch
Tony fafd26db7e
Rockchip default merge (#1026)
* Initial commit, cleanup of Rockchip default

* clean up patches:
- 100_DTS_Tinker_opp_LED was splitted into 3 patches
	- 100_DTS_opp for opp (adjusted to RKs 3 point description of opp Voltage)
	- 110_DTS_8723bs for the wifi driver
		-rename of 270-dts-tinker-bluetooth.patch -> 111_DTS_disable_AP6212_bluetooth.patch to keep wifi-chip stuff together
	- 120_DTS_led1_heartbeat
- 190_dts_tinker_s_emmc was reworked and splitted
	- gpiomem node was removed and has its own patch (260_DTS_gpiomem_node)
	- i2c1 node was removed and has its own patch 270_DTS_activate_i2c1
	- spi2 part was removed (defined in rk3288.dtsi), default CS will now be CS0 not 1 (no reason to change this)
	- vdd_log regulator is removed (the counterpart is missing anyway, and actually disabled in ASUS and Rockchips branch) --> own patch in case it gets activated
- 120_workaround_tinker_board_reboot -> 130_workaround_tinker_board_reboot to get some free numbers... ;)

* Renamed 190_DTS_tinker_s_emmc and splitted into DTS-Part and driver part (191_driver_mmc_adjustment)

* Boots, Still no hdmi console

* Rockchip Kernel config updates

Thanks to @Ntemis for the config options, they fixed the framebuffer

Still have runtime GPU errors related to power model
2018-06-28 22:11:59 -04:00

50 lines
1.2 KiB
Diff

diff --git a/arch/arm/boot/dts/rk3288-miniarm.dts b/arch/arm/boot/dts/rk3288-miniarm.dts
index 10c6703..3d13a2c 100644
--- a/arch/arm/boot/dts/rk3288-miniarm.dts
+++ b/arch/arm/boot/dts/rk3288-miniarm.dts
@@ -174,6 +174,14 @@
vin-supply = <&vcc_io>;
};
+ vcc_flash: flash-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_flash";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ vin-supply = <&vcc_io>;
+ };
+
vcc_cam: vcc-camera {
compatible = "regulator-fixed";
regulator-name = "vcc_cam";
@@ -551,6 +559,8 @@
&io_domains {
status = "okay";
+ flash0-supply = <&vcc_flash>;
+ gpio30-supply = <&vcc_io>;
sdcard-supply = <&vccio_sd>;
wifi-supply = <&vcc_18>;
};
@@ -601,6 +611,20 @@
vqmmc-supply = <&vccio_sd>;
};
+&emmc {
+ bus-width = <8>;
+ cap-mmc-highspeed;
+ disable-wp;
+ non-removable;
+ num-slots = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
+ max-frequency = <150000000>;
+ mmc-hs200-1_8v;
+ mmc-ddr-1_8v;
+ status = "okay";
+};
+
&tsadc {
rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */