arm64: dts: sm1_s905y3_bananapim5: Apply changes for bananapim5
authorStricted <info@stricted.net>
Tue, 6 Jul 2021 17:42:39 +0000 (17:42 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Wed, 22 Dec 2021 02:21:18 +0000 (21:21 -0500)
Change-Id: If09571483ae6f68f52c86041669f1054cd216b20

arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts

index d017c942a970007b0a4b0c32cc0645fbc5c0793c..d6caaf5128864019153b7a8a89dc2cc2efe4c6fd 100644 (file)
 
        gpioleds {
                compatible = "gpio-leds";
-               status = "disabled";
-
-               net_red {
-                       label="net_red";
-                       /*gpios=<&gpio GPIOA_14 GPIO_ACTIVE_LOW>;*/
-                       default-state ="on";
-               };
-
-               net_green {
-                       label="net_green";
-                       /*gpios=<&gpio GPIOA_15 GPIO_ACTIVE_HIGH>;*/
-                       default-state ="on";
-               };
+               status = "okay";
 
                remote_led {
                        label = "remote_led";
-                       gpios = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                        linux,default-trigger = "rc_feedback";
                };
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
+                       linux,default-trigger = "timer";
                };
        };
 
        };//End unifykey
 
        efusekey:efusekey{
-               keynum = <1>;
+               keynum = <4>;
                key0 = <&key_0>;
+               key1 = <&key_1>;
+               key2 = <&key_2>;
+               key3 = <&key_3>;
                key_0:key_0{
-                       keyname = "uuid";
+                       keyname = "mac";
                        offset = <0>;
-                       size = <32>;
+                       size = <6>;
+               };
+               key_1:key_1{
+                       keyname = "mac_bt";
+                       offset = <6>;
+                       size = <6>;
+               };
+               key_2:key_2{
+                       keyname = "mac_wifi";
+                       offset = <12>;
+                       size = <6>;
+               };
+               key_3:key_3{
+                       keyname = "usid";
+                       offset = <18>;
+                       size = <16>;
                };
        };//End efusekey
 
                reg = <0x0 0xFF632000 0x0 0x2000>;
                is_auge_used = <1>; /* meson or auge chipset used */
                tocodec_inout = <1>;
-               tdmout_index = <1>;
+               tdmout_index = <2>;
                ch0_sel = <0>;
                ch1_sel = <1>;
 
                        /* master mode */
                        bitclock-master = <&tdmc>;
                        frame-master = <&tdmc>;
+                       continuous-clock;
                        /* slave mode */
                        //bitclock-master = <&tdmccodec>;
                        //frame-master = <&tdmccodec>;
                        /* suffix-name, sync with android audio hal used for */
-                       //suffix-name = "alsaPORT-tdm";
+                       suffix-name = "alsaPORT-tdm";
                        cpu {
                                sound-dai = <&tdmc>;
                                dai-tdm-slot-tx-mask = <1 1>;
        };
 
        tdmb_mclk: tdmb_mclk {
-               mux {
-                       groups = "mclk0_a";
-                       function = "mclk0";
+               mux { /* GPIOAO_9 */
+                       groups = "mclk0_ao";
+                       function = "mclk0_ao";
                        drive-strength = <2>;
                };
        };
        tdmout_b: tdmout_b {
-               mux { /* GPIOA_1, GPIOA_2, GPIOA_3 */
-                       groups = "tdmb_sclk",
-                               "tdmb_fs",
-                               "tdmb_dout0";
-                       function = "tdmb_out";
+               mux { /* GPIOAO_8, GPIOAO_7, GPIOAO_4 */
+                       groups = "tdmb_sclk_ao",
+                               "tdmb_fs_ao",
+                               "tdmb_dout0_ao";
+                       function = "tdmb_out_ao";
                        drive-strength = <2>;
                };
        };
        };
 
        spdifout: spdifout {
-               mux { /* GPIOH_4 */
-                       groups = "spdif_out_h";
-                       function = "spdif_out";
+               mux { /* gpiao_10 */
+                       groups = "spdif_out_ao";
+                       function = "spdif_out_ao";
                };
        };
 
        status = "okay";
        portnum = <1>;
        otg = <1>;
-       gpio-vbus-power = "GPIOAO_2";
-       gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
 };
 
 &dwc2_a {